View difference between Paste ID: C2BCYEfS and P7QS4p9D
SHOW: | | - or go back to the newest paste.
1
public boolean onSkillTrigger() {
2
		EntityPlayer player = theGame.thePlayer;
3
		World world = theGame.theWorld;
4
		if(player.health >= 1) {
5-
			for(Entity entity : world.getEntitiesWithinAABBExcludingEntity(player, player.boundingBox.expand(50D, 50D, 50D))) {entity.getBrightness(1.0F);}
5+
			for(Entity entity : (List<Entity>) world.getEntitiesWithinAABBExcludingEntity(player, player.boundingBox.expand(50D, 50D, 50D))) {entity.getBrightness(1.0F);}
6
			return true;
7
		} else {
8
			return false;
9
		}
10
	}