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);
|
super(manager, GameType.Brawl);
|
||||||
|
|
||||||
new AbsorptionFix(this);
|
new AbsorptionFix(this);
|
||||||
|
|
||||||
|
setupOPPlayerLoot();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -137,8 +139,7 @@ public class OverpoweredSkywars extends TeamSkywars
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public void setupOPPlayerLoot()
|
||||||
public void setupPlayerLoot()
|
|
||||||
{
|
{
|
||||||
//Armor
|
//Armor
|
||||||
_playerArmor.addLoot(new RandomItem(Material.DIAMOND_HELMET, 20));
|
_playerArmor.addLoot(new RandomItem(Material.DIAMOND_HELMET, 20));
|
||||||
|
Loading…
Reference in New Issue
Block a user