remove arbitary item data

This commit is contained in:
Sen 2025-07-07 00:38:38 +02:00
parent 97b708bb23
commit 4e94a660ff
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
18 changed files with 210 additions and 392 deletions

View file

@ -34,7 +34,7 @@ public class CommandItem extends Command {
ItemStack stack = ItemStack.getStack(item, null);
if(stack == null)
throw new RunException("Gegenstand '%s' existiert nicht", item);
stack.setTag(tag);
stack.readTag(tag);
int done = 0;
int given = 0;
for(EntityNPC player : players) {