Funness - I can't spell
This commit is contained in:
parent
cf183a46ca
commit
a1fa511e7a
8 changed files with 78 additions and 50 deletions
|
@ -332,7 +332,7 @@ public class AlchemicalWizardryEventHooks
|
|||
@SubscribeEvent
|
||||
public void onPlayerRespawnEvent(PlayerRespawnEvent event)
|
||||
{
|
||||
if (AlchemicalWizardry.respawnWithDebuff)
|
||||
if (AlchemicalWizardry.respawnWithDebuff && event.player != null)
|
||||
{
|
||||
event.player.addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionSoulFray.id, 20 * 60 * 5, 0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue