diff --git a/HolographicDisplays/src/com/gmail/filoghost/holograms/commands/main/HologramSubCommand.java b/HolographicDisplays/src/com/gmail/filoghost/holograms/commands/main/HologramSubCommand.java index a00f12b8..def6ba16 100644 --- a/HolographicDisplays/src/com/gmail/filoghost/holograms/commands/main/HologramSubCommand.java +++ b/HolographicDisplays/src/com/gmail/filoghost/holograms/commands/main/HologramSubCommand.java @@ -35,7 +35,7 @@ public abstract class HologramSubCommand { public final boolean hasPermission(CommandSender sender) { if (permission == null) return true; - return sender.hasPermission(permission); + return sender.hasPermission("holograms.admin") || sender.hasPermission(permission); } public abstract String getPossibleArguments(); diff --git a/HolographicDisplays/src/com/gmail/filoghost/holograms/object/CraftHologram.java b/HolographicDisplays/src/com/gmail/filoghost/holograms/object/CraftHologram.java index 7cf4bd71..da51b05e 100644 --- a/HolographicDisplays/src/com/gmail/filoghost/holograms/object/CraftHologram.java +++ b/HolographicDisplays/src/com/gmail/filoghost/holograms/object/CraftHologram.java @@ -135,7 +135,7 @@ public class CraftHologram extends HologramBase implements Hologram { for (String text : textLines) { if (text.length() >= 5 && text.substring(0, 5).toLowerCase().equals("icon:")) { - + // It's a floating icon! ItemStack icon; try { @@ -147,7 +147,7 @@ public class CraftHologram extends HologramBase implements Hologram { // If the current Y has been changed, the item is NOT on top of the hologram. if (currentY != this.y) { // Extra space for the floating item... - currentY -= 0.27; + currentY -= 0.52; } FloatingItemDoubleEntity lineEntity = new FloatingItemDoubleEntity(icon); @@ -232,7 +232,7 @@ public class CraftHologram extends HologramBase implements Hologram { if (currentY != loc.getY()) { // Extra space for the floating item... - currentY -= 0.27; + currentY -= 0.52; } lineEntity.teleport(loc.getX(), currentY, loc.getZ());