mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-03 14:38:53 +00:00
Damnit.
This commit is contained in:
1 parent
00bfe6b4c4
commit
d7276d323a
1 file changed
+1
-1
@@ -1045,7 +1045,7 @@ public class ClickHandler implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!(player.isSneaking()) && itemInHand.getType() == Config.controlItem) {
|
if (!(player.isSneaking()) && itemInHand.getType() == Config.controlItem) {
|
||||||
if (isSiegeEngine(entity, false)) TakeControl(player, entity);
|
if (isSiegeEngine(entity, true)) TakeControl(player, entity);
|
||||||
}
|
}
|
||||||
/*if (itemInHand.getType() == Config.controlItem) {
|
/*if (itemInHand.getType() == Config.controlItem) {
|
||||||
if (SiegeEngines.siegeEngineEntitiesPerPlayer.get(player.getUniqueId()) != null) {
|
if (SiegeEngines.siegeEngineEntitiesPerPlayer.get(player.getUniqueId()) != null) {
|
||||||
|
|||||||
Reference in new issue
Block a user