mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Disable pixie event handler for now
This commit is contained in:
1 parent
ac7d284818
commit
4c3097b85e
1 file changed
+2
@@ -83,6 +83,7 @@ public final class PixieHandler {
|
||||
public static void onDamageTaken(LivingHurtEvent event) {
|
||||
if (!event.getEntityLiving().world.isRemote && event.getEntityLiving() instanceof PlayerEntity && event.getSource().getTrueSource() instanceof LivingEntity) {
|
||||
PlayerEntity player = (PlayerEntity) event.getEntityLiving();
|
||||
/* todo unimpl
|
||||
double chance = player.getAttribute(PIXIE_SPAWN_CHANCE).getValue();
|
||||
ItemStack sword = PlayerHelper.getFirstHeldItem(player, s -> s.getItem() == ModItems.elementiumSword);
|
||||
|
||||
@@ -104,6 +105,7 @@ public final class PixieHandler {
|
||||
SpawnReason.EVENT, null, null);
|
||||
player.world.addEntity(pixie);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user