mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -76,7 +76,10 @@ function Selection.start(player, selection_name, single_use, ...)
|
|||||||
--player.cursor_stack_temporary = true
|
--player.cursor_stack_temporary = true
|
||||||
|
|
||||||
-- Make a slot to place the selection tool even if inventory is full
|
-- Make a slot to place the selection tool even if inventory is full
|
||||||
player.character_inventory_slots_bonus = player.character_inventory_slots_bonus + 1
|
if player.character then
|
||||||
|
player.character_inventory_slots_bonus = player.character_inventory_slots_bonus + 1
|
||||||
|
end
|
||||||
|
|
||||||
local inventory = player.get_main_inventory()
|
local inventory = player.get_main_inventory()
|
||||||
if inventory then
|
if inventory then
|
||||||
player.hand_location = { inventory = inventory.index, slot = #inventory }
|
player.hand_location = { inventory = inventory.index, slot = #inventory }
|
||||||
|
|||||||
Reference in New Issue
Block a user