From cedff21e7afcfcaaff5077209edd8022899930a7 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Thu, 30 Jan 2014 18:48:30 -0600 Subject: [PATCH] Memory Card Removed Block ( some more ) --- block/AEBaseBlock.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/block/AEBaseBlock.java b/block/AEBaseBlock.java index 1b7cd00e9..bf7fb6d7f 100644 --- a/block/AEBaseBlock.java +++ b/block/AEBaseBlock.java @@ -94,8 +94,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature try { ResourceLocation resLoc = new ResourceLocation( Name ); - resLoc = new ResourceLocation( resLoc.getResourceDomain(), String.format( "%s/%s%s", new Object[] { "textures/blocks", - resLoc.getResourcePath(), ".png" } ) ); + resLoc = new ResourceLocation( resLoc.getResourceDomain(), String.format( "%s/%s%s", new Object[] { "textures/blocks", resLoc.getResourcePath(), ".png" } ) ); Resource res = Minecraft.getMinecraft().getResourceManager().getResource( resLoc ); if ( res != null ) @@ -647,7 +646,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature if ( data != null ) { memc.setMemoryCardContents( is, name, data ); - memc.notifyUser( this, player, MemoryCardMessages.SETTINGS_SAVED ); + memc.notifyUser( player, MemoryCardMessages.SETTINGS_SAVED ); return false; } } @@ -660,10 +659,10 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature { AEBaseTile t = getTileEntity( w, x, y, z ); t.uploadSettings( SettingsFrom.MEMORY_CARD, data ); - memc.notifyUser( this, player, MemoryCardMessages.SETTINGS_LOADED ); + memc.notifyUser( player, MemoryCardMessages.SETTINGS_LOADED ); } else - memc.notifyUser( this, player, MemoryCardMessages.INVALID_MACHINE ); + memc.notifyUser( player, MemoryCardMessages.INVALID_MACHINE ); return false; } }