Small changes

This commit is contained in:
paulevsGitch 2021-01-14 01:02:06 +03:00
parent a9a5d8f225
commit 471d5791e9

View file

@ -75,6 +75,7 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
ServerPlayerEntity player = (ServerPlayerEntity) entity;
player.teleport(destination, exitPos.getX() + 0.5D, exitPos.getY(), exitPos.getZ() + 0.5D, entity.yaw, entity.pitch);
player.resetNetherPortalCooldown();
} else {
TeleportingEntity teleEntity = (TeleportingEntity) entity;
teleEntity.beSetExitPos(exitPos);