From 72ec318481b7a04aef2a054403cdc5251d29a3c0 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Wed, 12 Jun 2013 22:01:42 +0200 Subject: [PATCH] Fixed crafting inside a chest --- src/Player.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Player.php b/src/Player.php index 787969bf06..bd6290cddb 100644 --- a/src/Player.php +++ b/src/Player.php @@ -1615,6 +1615,9 @@ class Player{ } $this->craftingItems = array(); } + }else{ + $this->toCraft = array(); + $this->craftingItems = array(); } if(!isset($this->windows[$data["windowid"]])){ break;