Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SubscribeEvent
- public void constructEntity(EntityEvent.EntityConstructing event) {
- Entity entity = event.getEntity();
- if (entity instanceof EntityPlayer) {
- UphillStepAssist.logger.info("Player joined world... Setting step height to " + ConfigurationHandler.stepHeight);
- entity.stepHeight = ConfigurationHandler.stepHeight;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement