summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOdnetninI <odnetnininds@gmail.com>2015-10-05 21:59:15 +0200
committerOdnetninI <odnetnininds@gmail.com>2015-10-05 21:59:15 +0200
commit545aa2a989178a3860415b7935803bebcb61c8a8 (patch)
treeaae4f9ceef0656db024168100a3980a8a4832bc4
parentMerge pull request #2525 from cuberite/StreamPerf (diff)
downloadcuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar.gz
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar.bz2
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar.lz
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar.xz
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.tar.zst
cuberite-545aa2a989178a3860415b7935803bebcb61c8a8.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index d35b92296..57bf382d4 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1260,6 +1260,7 @@ void cPlayer::SetCapabilities()
if (IsGameModeSpectator())
{
SetVisible(false);
+ SetCanFly(true);
}
else
{