mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
removed debug stuff
This commit is contained in:
parent
f5c8b05a08
commit
4880be5452
1 changed files with 1 additions and 2 deletions
|
|
@ -2638,7 +2638,6 @@ class Player{
|
|||
if($slot->getID() == $citem->getID() && $slot->getMetadata() == $citem->getMetadata()){
|
||||
|
||||
if($citem->count > $slot->count){ //item added, result
|
||||
console("{$citem->count} {$slot->count}");
|
||||
$this->addCraftingResult($packet->slot, $slot->getID(), $slot->getMetadata(), $citem->count - $slot->count);
|
||||
}else if($citem->count < $slot->count){ //item removed, ingridient
|
||||
$this->addCraftingIngridient($packet->slot, $slot->getID(), $slot->getMetadata(), $slot->count - $citem->count);
|
||||
|
|
@ -2970,7 +2969,7 @@ class Player{
|
|||
if(!isset($this->toCraft[$index][$slot])) $this->toCraft[$index][$slot] = 0;
|
||||
$this->toCraft[$index][$slot] += $count;
|
||||
|
||||
console("Result: $id, $meta, $count into $slot");
|
||||
//console("Result: $id, $meta, $count into $slot");
|
||||
if($this->tryCraft() === false){
|
||||
$this->sendInventory();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue