@@ -14,7 +14,7 @@
|
||||
Entity entity = (Entity) iterator.next();
|
||||
|
||||
+ // CraftBukkit start - Call interact event when turning on a pressure plate
|
||||
+ if (this.getPower(world.getType(blockposition)) == 0) {
|
||||
+ if (this.getSignalForState(world.getBlockState(blockposition)) == 0) {
|
||||
+ org.bukkit.World bworld = world.getWorld();
|
||||
+ org.bukkit.plugin.PluginManager manager = world.getCraftServer().getPluginManager();
|
||||
+ org.bukkit.event.Cancellable cancellable;
|
||||
@@ -33,6 +33,6 @@
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
if (!entity.isIgnoreBlockTrigger()) {
|
||||
if (!entity.isIgnoringBlockTriggers()) {
|
||||
return 15;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user