mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 11:10:29 +00:00
Don't fatally error if CraftTweaker items have NBT
CT now adds {Damage:0}, which means turtle upgrades not registered any more for tools. Fixes #647.
This commit is contained in:
parent
72340defe4
commit
2c9f51db89
@ -27,7 +27,6 @@ public final class TrackingLogger
|
||||
|
||||
public void warning( String message )
|
||||
{
|
||||
ok = false;
|
||||
logger.warning( message );
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ public class AddTurtleTool implements IUndoableAction
|
||||
{
|
||||
TrackingLogger trackLog = new TrackingLogger( logger );
|
||||
|
||||
if( craftItem.isEmpty() ) trackLog.warning( "Crafting item stack is empty." );
|
||||
if( craftItem.isEmpty() ) trackLog.error( "Crafting item stack is empty." );
|
||||
|
||||
if( craftItem.hasTag() && !craftItem.getTag().isEmpty() ) trackLog.warning( "Crafting item has NBT." );
|
||||
if( toolItem.isEmpty() ) trackLog.error( "Tool item stack is empty." );
|
||||
|
Loading…
Reference in New Issue
Block a user