World Border (Fabric)

World Border (Fabric)

261k Downloads

Is there no @p option for Save and Load Inventory commands?

LUNGSVVORLD opened this issue ยท 1 comments

commented

Minecraft version: 1.18.2
Modloader: Fabric
Fabric loader version: 0.14.22
Environment: Singleplayer

Mod name: Save and Load Inventories
Mod version: 3.0

Question

I'm trying to use Save and Load inventories to make a small class select system using command blocks but I am not able to target "@p" or "@r" or anything of that sort when saving or loading inventories. I don't know of a way to get a command block to refer specifically to a player's username directly in the way which the command would otherwise require. Is there any way I would be able to get a command block to use the load command on players?

commented

I've since fixed this issue by using:
/execute as @p run loadinventory <InventoryName>