Fix NPE in OP Skywars startup

This commit is contained in:
cnr 2017-06-16 19:22:53 -05:00
parent 87e1ebb2af
commit 04d9e7326d

View File

@ -48,6 +48,8 @@ public class OverpoweredSkywars extends TeamSkywars
super(manager, GameType.Brawl);
new AbsorptionFix(this);
setupOPPlayerLoot();
}
@Override
@ -137,8 +139,7 @@ public class OverpoweredSkywars extends TeamSkywars
}
}
@Override
public void setupPlayerLoot()
public void setupOPPlayerLoot()
{
//Armor
_playerArmor.addLoot(new RandomItem(Material.DIAMOND_HELMET, 20));