fixed elytra race spectators flying elytra
This commit is contained in:
1 parent
a71aca5d6c
commit
7cd849946b
1 file changed
+1
+1
@@ -169,6 +169,7 @@ public class ElytraRace extends StatelessGame {
|
|||||||
if(newPos.z() > ringCount * ringSpacing) {
|
if(newPos.z() > ringCount * ringSpacing) {
|
||||||
getScore().insertResult(player);
|
getScore().insertResult(player);
|
||||||
player.setGameMode(GameMode.SPECTATOR);
|
player.setGameMode(GameMode.SPECTATOR);
|
||||||
|
player.setFlyingWithElytra(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user