1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Added grave button texture and reduced lag when vacuuming graves

- Fixed item disappearance when retrieved while reducing amount of tests and drops when vacuuming
 - Added grave button texture
This commit is contained in:
LeMagnesium 2015-08-02 21:25:31 +02:00
parent bf7a9b02be
commit 51e7c037c3
2 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ function pclasses.api.vacuum_graveyard(player)
for i = 1,7*8 do
local stack = grave_inv:get_stack("graveyard", i)
if pclasses.api.util.can_have_item(pname, stack:get_name()) then
if pclasses.data.reserved_items[stack:get_name()] and pclasses.api.util.can_have_item(pname, stack:get_name()) then
grave_inv:set_stack("graveyard", i, nil)
player_inv:set_stack("graveyard", i, nil)
if player_inv:room_for_item("main", stack) then

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B