remove print statements
This commit is contained in:
parent
c65afe83e8
commit
8e30a4cd8f
@ -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)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user