Restore Java 6 compatibility
Removes a lot of needless TODO's
This commit is contained in:
parent
09b331fdbe
commit
8f48f3a2d0
2 changed files with 3 additions and 46 deletions
|
@ -1,5 +1,6 @@
|
|||
package WayofTime.bloodmagic.api.livingArmour;
|
||||
|
||||
import WayofTime.bloodmagic.api.BloodMagicAPI;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
|
@ -35,7 +36,7 @@ public class LivingArmourHandler
|
|||
Constructor<? extends LivingArmourUpgrade> ctor = clazz.getConstructor(int.class);
|
||||
if (ctor == null)
|
||||
{
|
||||
// TODO: This is bad - add something to the log
|
||||
BloodMagicAPI.getLogger().error("Error adding living armour upgrade {} as it doesn't have a valid constructor.", upgrade.getUniqueIdentifier());
|
||||
} else
|
||||
{
|
||||
upgradeConstructorMap.put(upgrade.getUniqueIdentifier(), ctor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue