Advertisement
Guest User

Untitled

a guest
Sep 18th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. @SubscribeEvent
  2.     public void constructEntity(EntityEvent.EntityConstructing event) {
  3.         Entity entity = event.getEntity();
  4.         if (entity instanceof EntityPlayer) {
  5.             UphillStepAssist.logger.info("Player joined world... Setting step height to " + ConfigurationHandler.stepHeight);
  6.             entity.stepHeight = ConfigurationHandler.stepHeight;
  7.         }
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement