mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Fix fall death for real (thanks goodlyay)
This commit is contained in:
parent
e1eb6295bb
commit
545c375813
@ -349,7 +349,7 @@ namespace MCGalaxy {
|
|||||||
int index = level.PosToInt(P.X, P.Y, P.Z);
|
int index = level.PosToInt(P.X, P.Y, P.Z);
|
||||||
|
|
||||||
if (level.Config.SurvivalDeath) {
|
if (level.Config.SurvivalDeath) {
|
||||||
if (index != oldIndex) PlayerPhysics.Fall(this, bb);
|
PlayerPhysics.Fall(this, bb);
|
||||||
PlayerPhysics.Drown(this, bb);
|
PlayerPhysics.Drown(this, bb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user