Fixed PC-698

This commit is contained in:
xGamingDudex 2016-07-27 12:09:59 +02:00
parent 5d0b5f80c0
commit 161381f393

View File

@ -7,6 +7,7 @@ import mineplex.core.boosters.event.BoosterExpireEvent;
import mineplex.core.boosters.tips.BoosterTipManager;
import mineplex.core.common.util.*;
import mineplex.core.disguise.DisguiseManager;
import mineplex.core.gadget.event.GadgetCollideEntityEvent;
import mineplex.core.hologram.Hologram;
import mineplex.core.hologram.HologramManager;
import mineplex.core.itemstack.ItemBuilder;
@ -228,6 +229,15 @@ public class BoosterPodium extends MiniPlugin
event.setCancelled(true);
}
}
@EventHandler
public void onGadgetCollide(GadgetCollideEntityEvent event)
{
if (event.getOther().equals(_activeArmorStand))
{
event.setCancelled(true);
}
}
public void setPodium(Location loc, int id, byte data)
{