Remove fillLimit rule and its migration code

It has been replaced by the `commandModificationBlockLimit` gamerule
This commit is contained in:
altrisi authored and GitHub committed 2023-10-22 15:12:28 +02:00
1 parent 72d9dd23e3
commit 2c01a98216
3 files changed
+1 -50

No files matched your search

+1 -1
View File
@@ -346,7 +346,7 @@ public class Vanilla
public static int MinecraftServer_getFillLimit(MinecraftServer server)
{
return Math.max(server.getGameRules().getInt(GameRules.RULE_COMMAND_MODIFICATION_BLOCK_LIMIT), CarpetSettings.fillLimit);
return server.getGameRules().getInt(GameRules.RULE_COMMAND_MODIFICATION_BLOCK_LIMIT);
}
public static int PoiRecord_getFreeTickets(PoiRecord record)