mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-04 15:41:38 +00:00
修正变量名
This commit is contained in:
@@ -99,8 +99,8 @@ public class PressurePlateBlockBehavior extends BukkitBlockBehavior {
|
||||
if (EventUtils.fireAndCheckCancel(event)) {
|
||||
return;
|
||||
}
|
||||
boolean canInteract = entity instanceof Player p && !BukkitCraftEngine.instance().antiGriefProvider().canInteract(p, block.getLocation());
|
||||
if (canInteract) {
|
||||
boolean cannotInteract = entity instanceof Player p && !BukkitCraftEngine.instance().antiGriefProvider().canInteract(p, block.getLocation());
|
||||
if (cannotInteract) {
|
||||
return;
|
||||
}
|
||||
Object state = args[0];
|
||||
|
||||
Reference in New Issue
Block a user