Adding missing if condition to effects
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
be6693e85a
Commit
9b1622c1e4
@ -58,7 +58,8 @@ public class Kit {
|
||||
if(armor != null)
|
||||
player.getInventory().setArmorContents(armor);
|
||||
player.updateInventory();
|
||||
player.addPotionEffects(effects);
|
||||
if(effects != null)
|
||||
player.addPotionEffects(effects);
|
||||
}
|
||||
|
||||
void saveKit(ConfigurationSection section){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren