mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 22:34:33 +00:00
Rename files to be more consistent. Add missing headers, tidy up Utils
This commit is contained in:
1 parent
37dd0efee2
commit
1e89bab556
576 files changed
+3811
-3923
No files matched your search
@@ -17,18 +17,19 @@ import net.minecraft.item.ItemStack;
|
||||
import forestry.api.storage.ICrateRegistry;
|
||||
import forestry.core.items.ItemCrated;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.core.utils.Log;
|
||||
import forestry.plugins.PluginStorage;
|
||||
|
||||
public class CrateRegistry implements ICrateRegistry {
|
||||
|
||||
private static void registerCrate(ItemStack stack, String uid, boolean useOreDict) {
|
||||
if (stack == null || stack.getItem() == null) {
|
||||
Proxies.log.severe("Tried to make a crate without an item");
|
||||
Log.severe("Tried to make a crate without an item");
|
||||
return;
|
||||
}
|
||||
|
||||
if (uid == null) {
|
||||
Proxies.log.severe("Tried to make a crate without a uid");
|
||||
Log.severe("Tried to make a crate without a uid");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user