@@ -1,15 +1,15 @@
|
||||
--- a/net/minecraft/server/ItemLeash.java
|
||||
+++ b/net/minecraft/server/ItemLeash.java
|
||||
@@ -3,6 +3,8 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
--- a/net/minecraft/world/item/ItemLeash.java
|
||||
+++ b/net/minecraft/world/item/ItemLeash.java
|
||||
@@ -14,6 +14,8 @@
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.phys.AxisAlignedBB;
|
||||
|
||||
+import org.bukkit.event.hanging.HangingPlaceEvent; // CraftBukkit
|
||||
+
|
||||
public class ItemLeash extends Item {
|
||||
|
||||
public ItemLeash(Item.Info item_info) {
|
||||
@@ -44,7 +46,23 @@
|
||||
@@ -55,7 +57,23 @@
|
||||
if (entityinsentient.getLeashHolder() == entityhuman) {
|
||||
if (entityleash == null) {
|
||||
entityleash = EntityLeash.a(world, blockposition);
|
||||
|
||||
Reference in New Issue
Block a user