mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-02 17:08:00 +01:00
Remove some debug logs
This commit is contained in:
parent
17a989f2a0
commit
8a7c66b6c1
2 changed files with 0 additions and 3 deletions
|
@ -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()) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue