mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 02:15:34 -04:00
fix collision handling
This commit is contained in:
parent
77f7ff4a7e
commit
231ef1ef40
@ -97,7 +97,7 @@ public class PlayerEntity extends LivingEntity {
|
||||
|
||||
public void setGamemode(Gamemodes gamemode) {
|
||||
this.gamemode = gamemode;
|
||||
this.hasCollisions = gamemode == Gamemodes.SPECTATOR;
|
||||
this.hasCollisions = gamemode != Gamemodes.SPECTATOR;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user