Removed not needed network steps, corrected slot methods

This commit is contained in:
Shoghi Cervantes
2014-03-05 00:54:12 +01:00
parent bf412b1c20
commit a529e7566a
31 changed files with 761 additions and 929 deletions

View File

@@ -189,7 +189,7 @@ class Utils{
}
public static function writeSlot(Item $item){
return Utils::writeShort($item->getID()).chr($item->count).Utils::writeShort($item->getMetadata());
return Utils::writeShort($item->getID()).chr($item->getCount()).Utils::writeShort($item->getMetadata());
}
public static function readSlot($ob){