Added an assert to shut PhpStorm up

This commit is contained in:
Dylan K. Taylor 2017-06-04 09:59:13 +01:00
parent cf07af8b55
commit 82a63ed18e

View File

@ -841,6 +841,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
$X = null;
$Z = null;
Level::getXZ($index, $X, $Z);
assert(is_int($X) and is_int($Z));
++$count;