forked from SteamWar/SteamWar
Fix NoClip instant block break
This commit is contained in:
@@ -115,6 +115,7 @@ public class NoClipCommand extends SWCommand implements Listener {
|
|||||||
Abilities abilities = (((CraftPlayer) player).getHandle()).getAbilities();
|
Abilities abilities = (((CraftPlayer) player).getHandle()).getAbilities();
|
||||||
abilities.mayBuild = true;
|
abilities.mayBuild = true;
|
||||||
abilities.mayfly = true;
|
abilities.mayfly = true;
|
||||||
|
abilities.instabuild = true;
|
||||||
|
|
||||||
swPlayer.setComponent(new NoClipData());
|
swPlayer.setComponent(new NoClipData());
|
||||||
BauSystem.MESSAGE.send("OTHER_NOCLIP_SLOT_INFO", player);
|
BauSystem.MESSAGE.send("OTHER_NOCLIP_SLOT_INFO", player);
|
||||||
|
|||||||
Reference in New Issue
Block a user