From 06112946da2e82ed8cbdd5f210f2a3373800181e Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 16 Aug 2018 20:48:00 +1000 Subject: Fix whitespace issue in previous commit --- nms-patches/EntityTurtle.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nms-patches') diff --git a/nms-patches/EntityTurtle.patch b/nms-patches/EntityTurtle.patch index 14feb6f6..11c6bc4b 100644 --- a/nms-patches/EntityTurtle.patch +++ b/nms-patches/EntityTurtle.patch @@ -27,8 +27,7 @@ + // CraftBukkit start + if (!org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(this.f, this.d.up(), Blocks.TURTLE_EGG.getBlockData().set(BlockTurtleEgg.b, Integer.valueOf(this.f.random.nextInt(4) + 1))).isCancelled()) { world.a((EntityHuman) null, blockposition, SoundEffects.ENTITY_TURTLE_LAY_EGG, SoundCategory.BLOCKS, 0.3F, 0.9F + world.random.nextFloat() * 0.2F); -- world.setTypeAndData(this.d.up(), (IBlockData) Blocks.TURTLE_EGG.getBlockData().set(BlockTurtleEgg.b, Integer.valueOf(this.f.random.nextInt(4) + 1)), 3); -+ world.setTypeAndData(this.d.up(), (IBlockData) Blocks.TURTLE_EGG.getBlockData().set(BlockTurtleEgg.b, Integer.valueOf(this.f.random.nextInt(4) + 1)), 3); + world.setTypeAndData(this.d.up(), (IBlockData) Blocks.TURTLE_EGG.getBlockData().set(BlockTurtleEgg.b, Integer.valueOf(this.f.random.nextInt(4) + 1)), 3); + } + // CraftBukkit end this.f.s(false); -- cgit v1.2.3