Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

V10lator

Members
  • Posts

    1
  • Joined

  • Last visited

V10lator's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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 Privacy Policy.