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