Fix NPE in OP Skywars startup
This commit is contained in:
parent
87e1ebb2af
commit
04d9e7326d
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user