forked from SteamWar/SteamWar
Final fixes
This commit is contained in:
@@ -82,7 +82,8 @@ public class WorldEditRendererWrapper20 implements WorldEditRendererWrapper {
|
|||||||
float width = type.getWidth(player).value;
|
float width = type.getWidth(player).value;
|
||||||
Material material = type.getMaterial(player);
|
Material material = type.getMaterial(player);
|
||||||
if (material == Material.BARRIER) {
|
if (material == Material.BARRIER) {
|
||||||
hide(player, null, clipboard, true);
|
hide(player, owner, clipboard, true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
BlockData block = material.createBlockData();
|
BlockData block = material.createBlockData();
|
||||||
|
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ public class WorldEditRendererCUIEditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public WorldEditRendererCUIEditor() {
|
public WorldEditRendererCUIEditor() {
|
||||||
if (Core.getVersion() >= 21) {
|
if (Core.getVersion() >= 20) {
|
||||||
new Command();
|
new Command();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user