mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-27 10:59:20 +00:00
little fix
This commit is contained in:
@@ -695,7 +695,7 @@ public class ItemManagerImpl implements ItemManager {
|
||||
if (pot == null) {
|
||||
return FunctionResult.PASS;
|
||||
}
|
||||
final Player player = blockWrapper.getPlayer();;
|
||||
final Player player = blockWrapper.getPlayer();
|
||||
final ItemStack itemStack = blockWrapper.getItemInHand();
|
||||
final Location clicked = blockWrapper.getClickedBlock().getLocation();
|
||||
State state = new State(player, itemStack, clicked);
|
||||
@@ -749,7 +749,7 @@ public class ItemManagerImpl implements ItemManager {
|
||||
return FunctionResult.RETURN;
|
||||
}
|
||||
|
||||
final Player player = blockWrapper.getPlayer();;
|
||||
final Player player = blockWrapper.getPlayer();
|
||||
final ItemStack itemStack = blockWrapper.getItemInHand();
|
||||
final Location clicked = blockWrapper.getClickedBlock().getLocation();
|
||||
State state = new State(player, itemStack, clicked);
|
||||
|
||||
@@ -161,7 +161,7 @@ public class BukkitWorldAdaptor extends AbstractWorldAdaptor {
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onWorldLoad(WorldLoadEvent event) {
|
||||
if (worldManager.isMechanicEnabled(event.getWorld())) {
|
||||
worldManager.loadWorld(event.getWorld());;
|
||||
worldManager.loadWorld(event.getWorld());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user