whoops i deleted too much files + remove debug lines
This commit is contained in:
parent
3810b4e611
commit
b2d9d994fe
2 changed files with 11 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
package land.chipmunk.chipmunkmod.mixin;
|
||||
|
||||
import net.minecraft.client.network.ClientPlayNetworkHandler;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Invoker;
|
||||
|
||||
@Mixin(ClientPlayNetworkHandler.class)
|
||||
public interface ClientPlayNetworkHandlerInvoker {
|
||||
@Invoker("isSecureChatEnforced")
|
||||
public boolean isSecureChatEnforced();
|
||||
}
|
|
@ -114,7 +114,6 @@ public class Players extends Listener {
|
|||
try {
|
||||
final MutablePlayerListEntry duplicate = getEntry(newEntry);
|
||||
if (duplicate != null) {
|
||||
System.out.println("there is a duplicate, removing " + duplicate.profile().getId());
|
||||
removeFromPlayerList(duplicate.profile().getId());
|
||||
list.remove(duplicate);
|
||||
}
|
||||
|
@ -180,7 +179,6 @@ public class Players extends Listener {
|
|||
return packet;
|
||||
}
|
||||
|
||||
System.out.println("removing " + uuid);
|
||||
removeFromPlayerList(uuid);
|
||||
|
||||
list.remove(target);
|
||||
|
|
Loading…
Reference in a new issue