blob: 523aeed0f8011a1925f1e2580e37558100cbc5e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.keuin.ohmyvanillamc.mixin;
import com.keuin.ohmyvanillamc.DummyLogger;
import net.minecraft.server.network.EntityTrackerEntry;
import org.apache.logging.log4j.Logger;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(EntityTrackerEntry.class)
public class DisableEntityTrackerEntrySpamming {
private static final Logger DUMMY_LOGGER = new DummyLogger();
@Accessor("LOGGER")
private static Logger LOGGER() {
return DUMMY_LOGGER;
}
}
|