From 6ba6fc673a8b8cb34b73b3cfccee71282fc2b3da Mon Sep 17 00:00:00 2001 From: Ruby Rose Date: Fri, 27 Jan 2017 16:23:34 +0300 Subject: [PATCH] Preliminary support for multi-use of instant refilling chests --- InfChests/InfChests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InfChests/InfChests.cs b/InfChests/InfChests.cs index 44819f9..a5be524 100644 --- a/InfChests/InfChests.cs +++ b/InfChests/InfChests.cs @@ -379,7 +379,7 @@ private bool getChestContents(int index, short tilex, short tiley) return true; } - if (playerData.Values.Any(p => p.dbid == chest.id)) + if (chest.refillTime != 0 && playerData.Values.Any(p => p.dbid == chest.id)) { player.SendErrorMessage("This chest is in use."); playerData[index].action = chestAction.none;