@@ -1,5 +1,5 @@
|
||||
--- ../work/decompile-8eb82bde//net/minecraft/server/ItemHanging.java 2014-11-28 17:43:43.233707432 +0000
|
||||
+++ src/main/java/net/minecraft/server/ItemHanging.java 2014-11-28 17:38:16.000000000 +0000
|
||||
--- /home/matt/mc-dev-private//net/minecraft/server/ItemHanging.java 2015-02-26 22:40:22.827608137 +0000
|
||||
+++ src/main/java/net/minecraft/server/ItemHanging.java 2015-02-26 22:40:22.827608137 +0000
|
||||
@@ -1,5 +1,11 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
+
|
||||
public class ItemHanging extends Item {
|
||||
|
||||
private final Class a;
|
||||
private final Class<? extends EntityHanging> a;
|
||||
@@ -24,6 +30,26 @@
|
||||
|
||||
if (entityhanging != null && entityhanging.survives()) {
|
||||
if (!world.isStatic) {
|
||||
if (!world.isClientSide) {
|
||||
+ // CraftBukkit start - fire HangingPlaceEvent
|
||||
+ Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
|
||||
+ org.bukkit.block.Block blockClicked = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ());
|
||||
|
||||
Reference in New Issue
Block a user