Commits

Thinkofname authored 6e527e5b884
Update to Minecraft 1.9.2
No tags

nms-patches/BlockRedstoneTorch.patch

Modified
36 36 + if (oldCurrent != 0) {
37 37 + event.setNewCurrent(0);
38 38 + manager.callEvent(event);
39 39 + if (event.getNewCurrent() != 0) {
40 40 + return;
41 41 + }
42 42 + }
43 43 + // CraftBukkit end
44 44 world.setTypeAndData(blockposition, Blocks.UNLIT_REDSTONE_TORCH.getBlockData().set(BlockRedstoneTorch.FACING, iblockdata.get(BlockRedstoneTorch.FACING)), 3);
45 45 if (this.a(world, blockposition, true)) {
46 - world.a((EntityHuman) null, blockposition, SoundEffects.eF, SoundCategory.BLOCKS, 0.5F, 2.6F + (world.random.nextFloat() - world.random.nextFloat()) * 0.8F);
46 + world.a((EntityHuman) null, blockposition, SoundEffects.eG, SoundCategory.BLOCKS, 0.5F, 2.6F + (world.random.nextFloat() - world.random.nextFloat()) * 0.8F);
47 47 @@ -114,6 +133,15 @@
48 48 }
49 49 }
50 50 } else if (!flag && !this.a(world, blockposition, false)) {
51 51 + // CraftBukkit start
52 52 + if (oldCurrent != 15) {
53 53 + event.setNewCurrent(15);
54 54 + manager.callEvent(event);
55 55 + if (event.getNewCurrent() != 15) {
56 56 + return;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut