Fixed wrong InteractPacket constants

Thanks @thebigsmileXD
This commit is contained in:
PEMapModder
2016-02-23 21:05:59 +08:00
parent ccb60ff81e
commit 7ba7eaf303
2 changed files with 7 additions and 2 deletions

View File

@ -2300,6 +2300,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
$cancelled = false;
echo "Packet data:\n";
var_dump($packet->target, $packet->action);
if($packet->action === InteractPacket::ACTION_RIGHT_CLICK){
// TODO handle
break;