@EventHandler
	public void playerTakeDamage(EntityDamageEvent event) {
		if (shazamImmunity.contains(event.getCause())) {
			if (event.getEntity() instanceof Player) {
				if (ShazamState.playersInShazamState.contains((Player) event.getEntity())) {
					event.setCancelled(true); // should theoretically give
												// shazam the stamina of atlas
				}
			}
		}

		if (torchImmunity.contains(event.getCause())) {
			if (event.getEntity() instanceof Player) {
				Player pp = (Player) event.getEntity();
				if (HumanTorch.playersInTorchState.contains(pp)) {
					event.setCancelled(true); // should theoretically stop torch ppl from taking damage due to being on fire
					pp.setFireTicks(pp.getFireTicks() + 1); // should theoretically allow them to be on fire indefinitely
				}
			}
		}
		
		if (avatarSwag.contains(event.getCause())) {
			if (event.getEntity() instanceof Player) {
				Player pp = (Player) event.getEntity();
				if (AvatarState.playersInAvatarState.contains(pp)) {
					event.setCancelled(true); // should theoretically allow avatar to not drown, get hurt from explosions, and take fall damage
				}
			}
		}
	}