mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
SPIGOT-941: Fix a mistake in vine handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
4f2f0c69f2
commit
af0e9b8bf1
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
+ // CraftBukkit start - Call BlockSpreadEvent
|
+ // CraftBukkit start - Call BlockSpreadEvent
|
||||||
+ org.bukkit.block.Block source = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ());
|
+ org.bukkit.block.Block source = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ());
|
||||||
+ org.bukkit.block.Block bukkitBlock = world.getWorld().getBlockAt(blockposition1.getX(), blockposition1.getY(), blockposition1.getZ());
|
+ org.bukkit.block.Block bukkitBlock = world.getWorld().getBlockAt(blockposition2.getX(), blockposition2.getY(), blockposition2.getZ());
|
||||||
+
|
+
|
||||||
if (flag1 && this.c(world.getType(blockposition3).getBlock())) {
|
if (flag1 && this.c(world.getType(blockposition3).getBlock())) {
|
||||||
- world.setTypeAndData(blockposition2, this.getBlockData().set(a(enumdirection1), Boolean.valueOf(true)), 2);
|
- world.setTypeAndData(blockposition2, this.getBlockData().set(a(enumdirection1), Boolean.valueOf(true)), 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user