mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Suppressed persistent raid error.
This commit is contained in:
parent
6e4929246d
commit
62f7fc17d1
@ -13,12 +13,13 @@ import org.apache.logging.log4j.message.Message;
|
|||||||
public class LogFilterSVC implements IrisService, Filter {
|
public class LogFilterSVC implements IrisService, Filter {
|
||||||
|
|
||||||
private static final String HEIGHTMAP_MISMATCH = "Ignoring heightmap data for chunk";
|
private static final String HEIGHTMAP_MISMATCH = "Ignoring heightmap data for chunk";
|
||||||
|
private static final String RAID_PERSISTENCE = "Could not save data net.minecraft.world.entity.raid.PersistentRaid";
|
||||||
|
|
||||||
private static final KList<String> FILTERS = new KList<>();
|
private static final KList<String> FILTERS = new KList<>();
|
||||||
|
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
FILTERS.add(HEIGHTMAP_MISMATCH);
|
FILTERS.add(HEIGHTMAP_MISMATCH, RAID_PERSISTENCE);
|
||||||
((Logger) LogManager.getRootLogger()).addFilter(this);
|
((Logger)LogManager.getRootLogger()).addFilter(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void initialize() { }
|
public void initialize() { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user