Remove some debug logs

This commit is contained in:
Sollace 2022-09-11 19:27:04 +02:00
parent 17a989f2a0
commit 8a7c66b6c1
2 changed files with 0 additions and 3 deletions

View file

@ -185,7 +185,6 @@ public class SpellbookScreenHandler extends ScreenHandler {
@Override @Override
public ItemStack transferSlot(PlayerEntity player, int index) { public ItemStack transferSlot(PlayerEntity player, int index) {
System.out.println("Transfer slot: " + index);
Slot sourceSlot = slots.get(index); Slot sourceSlot = slots.get(index);
if (sourceSlot == null || !sourceSlot.hasStack()) { if (sourceSlot == null || !sourceSlot.hasStack()) {

View file

@ -40,8 +40,6 @@ public class MsgSpellbookStateChanged<T extends PlayerEntity> implements Packet<
return; return;
} }
System.out.println("Spellbook update page=" + state.getCurrentPageId().get() + " offset=" + state.getState(state.getCurrentPageId().get()).getOffset() + " to " + sender);
if (sender.currentScreenHandler instanceof SpellbookScreenHandler spellbook) { if (sender.currentScreenHandler instanceof SpellbookScreenHandler spellbook) {
spellbook.getSpellbookState().copyFrom(state); spellbook.getSpellbookState().copyFrom(state);
if (sender instanceof ServerPlayerEntity) { if (sender instanceof ServerPlayerEntity) {