mirror of
https://github.com/Minecraft-Community-Edition/client.git
synced 2026-05-26 19:14:36 +00:00
reimplement aether stuff from personal repo
This commit is contained in:
@@ -82,6 +82,8 @@ void Player::_init()
|
||||
|
||||
|
||||
isInsidePortal = false;
|
||||
isInsideAetherPortal = false;
|
||||
inAetherPortalOverlay = false;
|
||||
|
||||
|
||||
portalTime = oPortalTime = 0.0f;
|
||||
@@ -2328,6 +2330,17 @@ void Player::handleInsidePortal()
|
||||
isInsidePortal = true;
|
||||
}
|
||||
|
||||
void Player::handleInsideAetherPortal()
|
||||
{
|
||||
if (changingDimensionDelay > 0)
|
||||
{
|
||||
changingDimensionDelay = 10;
|
||||
return;
|
||||
}
|
||||
|
||||
isInsideAetherPortal = true;
|
||||
}
|
||||
|
||||
void Player::increaseXp(int i)
|
||||
{
|
||||
// Update xp calculations from 1.3
|
||||
|
||||
Reference in New Issue
Block a user