remove print statements

This commit is contained in:
Jenny 2025-03-12 06:06:49 +01:00
parent c65afe83e8
commit 8e30a4cd8f
Signed by: Jenny
GPG Key ID: 2072A14E40940632

View File

@ -47,7 +47,6 @@ public class xpTalisman extends Item {
player.experienceProgress = expProgressBefore; player.experienceProgress = expProgressBefore;
break; break;
} else { } else {
System.out.println("item dropped");
Item item = itemList.get(level.getRandom().nextInt(0, itemList.size())); Item item = itemList.get(level.getRandom().nextInt(0, itemList.size()));
level.addFreshEntity(new ItemEntity(level, player.getX(), player.getY(), player.getZ(), new ItemStack(item))); level.addFreshEntity(new ItemEntity(level, player.getX(), player.getY(), player.getZ(), new ItemStack(item)));
} }
@ -64,7 +63,6 @@ public class xpTalisman extends Item {
int xpPoints = getPlayerXP(player); int xpPoints = getPlayerXP(player);
for (int i = 1; i <= player.experienceLevel; i++) { for (int i = 1; i <= player.experienceLevel; i++) {
for (int i2 = 1; i2 <= itemsPerLevel; i2++) { for (int i2 = 1; i2 <= itemsPerLevel; i2++) {
System.out.println("item dropped");
Item item = itemList.get(level.getRandom().nextInt(0, itemList.size())); Item item = itemList.get(level.getRandom().nextInt(0, itemList.size()));
level.addFreshEntity(new ItemEntity(level, player.getX(), player.getY(), player.getZ(), new ItemStack(item))); level.addFreshEntity(new ItemEntity(level, player.getX(), player.getY(), player.getZ(), new ItemStack(item)));
} }