mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-22 05:02:11 +00:00
Allow bedrock to be cheated in by default
Some mods actually use it so I think allowing it to be cheated in by default is a good idea. In the mean time, command blocks shouldn't since they are strictly admin only.
This commit is contained in:
1 parent
479e53cfa5
commit
e116c790ce
1 file changed
+1
-1
@@ -181,7 +181,7 @@ public class NEIServerConfig
|
||||
bannedItems.clear();
|
||||
File file = new File(saveDir, "banneditems.cfg");
|
||||
if(!file.exists()) {
|
||||
bannedItems.put(new ItemStack(Blocks.bedrock), new HashSet<String>(Arrays.asList("NONE")));
|
||||
bannedItems.put(new ItemStack(Blocks.command_block), new HashSet<String>(Arrays.asList("NONE")));
|
||||
saveBannedItems();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user