Mails are now checked for prohibited items

Added blacklist for Mail envelopes.

It's mainly there to prevent players bypassing the stamp cost by sending out inventories rather than items.
This commit is contained in:
DrParadox7 authored and Martin Robertz committed 2023-11-12 18:14:46 +01:00
1 parent bf6bf6846a
commit 05c4914c79
3 files changed
+58 -1

No files matched your search

+3
View File
@@ -112,6 +112,9 @@ public class Forestry {
public void postInit(FMLPostInitializationEvent event) {
PluginManager.runPostInit();
// Parse Mail Blacklist
Config.parseMailBlacklist();
// Register world generator
WorldGenerator worldGenerator = new WorldGenerator();
GameRegistry.registerWorldGenerator(worldGenerator, 0);