Compare commits

...

1 Commits
1.20 ... master

Author SHA1 Message Date
b80f430157
remove print statement 2025-03-13 13:26:20 +01:00

View File

@ -30,7 +30,6 @@ public class xpTalisman extends Item {
private static void spawnItem(Level level, ServerPlayer player) { private static void spawnItem(Level level, ServerPlayer player) {
List<Item> itemList = ForgeRegistries.ITEMS.getValues().stream().toList(); List<Item> itemList = ForgeRegistries.ITEMS.getValues().stream().toList();
int xpNeeded = ServerConfig.C_XP_AMOUNT.get(); int xpNeeded = ServerConfig.C_XP_AMOUNT.get();
System.out.println(getPlayerXP(player));
while (true) { while (true) {
int expLevelBefore = player.experienceLevel; int expLevelBefore = player.experienceLevel;
float expProgressBefore = player.experienceProgress; float expProgressBefore = player.experienceProgress;