comment cleanup

This commit is contained in:
Pierre Kisters 2020-08-14 16:21:17 +02:00
parent ca3c510fc4
commit e0439fe712
3 changed files with 4 additions and 3 deletions

View File

@ -295,7 +295,7 @@ public class DynmapPlugin {
private void serverStart(MinecraftServer server) {
// Set the server so we don't NPE during setup
this.server = server;
this.fserver = new FabricServer(this, server); // FIXME: Get server in actual server itf
this.fserver = new FabricServer(this, server);
this.onEnable();
plugin.onStarting(server.getCommandManager().getDispatcher());
}

View File

@ -281,7 +281,7 @@ public class DynmapPlugin {
private void serverStart(MinecraftServer server) {
// Set the server so we don't NPE during setup
this.server = server;
this.fserver = new FabricServer(this, server); // FIXME: Get server in actual server itf
this.fserver = new FabricServer(this, server);
this.onEnable();
plugin.onStarting(server.getCommandManager().getDispatcher());
}

View File

@ -88,7 +88,8 @@ public class FabricMapChunkCache extends MapChunkCache {
for (int i = 0; i < b.length; i++) {
if (b[i] == null) continue;
String bs = biomeRegistry.getId(b[i]).toString(); //TODO: 1.16.1 was: b[i].getTranslationKey();
//FIXME: This probably not correct. In 1.16.1 it was: b[i].getTranslationKey();
String bs = biomeRegistry.getId(b[i]).toString();
for (int j = 0; j < bm.length; j++) {
if (bm[j].toString().equals(bs)) {