mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Merge pull request #274 from tterrag1098/patch-1
Fix dedicated server crash in Flight Tiara
This commit is contained in:
commit
45fe4f339c
1 file changed
+5
@@ -30,13 +30,17 @@ import baubles.common.lib.PlayerHandler;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
|
||||
|
||||
public static List<String> playersWithFlight = new ArrayList();
|
||||
private static final int COST = 50;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static IIcon iconWings;
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static IIcon iconDemonWings;
|
||||
|
||||
public ItemFlightTiara() {
|
||||
@@ -51,6 +55,7 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IIconRegister par1IconRegister) {
|
||||
itemIcon = IconHelper.forItem(par1IconRegister, this, 0);
|
||||
iconWings = IconHelper.forItem(par1IconRegister, this, 1);
|
||||
|
||||
Reference in new issue
Block a user