Jump to content

V10lator

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by V10lator

  1. This is my code: @SubscribeEvent(priority=EventPriority.LOWEST) public void onDimensionChange(PlayerEvent.PlayerChangedDimensionEvent event) { LogManager.getLogger("##NAME##").info("PlayerChangedDimensionEvent!"); } The event gets fired when a player enters the End just fine but when he jumps in the portal after killing the dragon there's no message in the log. What am I doing wrong? //EDIT: This one works: @SubscribeEvent(priority=EventPriority.LOWEST) public void onDimensionChange(EntityTravelToDimensionEvent event) { if(event.getEntity() instanceof EntityPlayer) LogManager.getLogger("##NAME##").info("PlayerChangedDimensionEvent!"); } So I guess this is a Forge bug?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.