Fixed typo in SyncData

This commit is contained in:
yueh 2014-09-29 15:25:48 +02:00
parent 640d888d13
commit 7ff54c6831
2 changed files with 6 additions and 6 deletions

View file

@ -41,7 +41,7 @@ import appeng.api.storage.data.IAEItemStack;
import appeng.client.me.InternalSlotME;
import appeng.client.me.SlotME;
import appeng.container.guisync.GuiSync;
import appeng.container.guisync.SyncDat;
import appeng.container.guisync.SyncData;
import appeng.container.slot.SlotInaccessible;
import appeng.core.AELog;
import appeng.core.sync.network.NetworkHandler;
@ -554,7 +554,7 @@ public abstract class AEBaseContainer extends Container
detectAndSendChanges();
}
HashMap<Integer, SyncDat> syncData = new HashMap<Integer, SyncDat>();
HashMap<Integer, SyncData> syncData = new HashMap<Integer, SyncData>();
@Override
public void detectAndSendChanges()
@ -567,7 +567,7 @@ public abstract class AEBaseContainer extends Container
{
ICrafting icrafting = (ICrafting) this.crafters.get( i );
for (SyncDat sd : syncData.values())
for (SyncData sd : syncData.values())
sd.tick( icrafting );
}
}
@ -616,7 +616,7 @@ public abstract class AEBaseContainer extends Container
if ( syncData.containsKey( annotation.value() ) )
AELog.warning( "Channel already in use: " + annotation.value() + " for " + f.getName() );
else
syncData.put( annotation.value(), new SyncDat( this, f, annotation ) );
syncData.put( annotation.value(), new SyncData( this, f, annotation ) );
}
}
}

View file

@ -12,7 +12,7 @@ import appeng.core.sync.network.NetworkHandler;
import appeng.core.sync.packets.PacketProgressBar;
import appeng.core.sync.packets.PacketValueConfig;
public class SyncDat
public class SyncData
{
private Object clientVersion;
@ -22,7 +22,7 @@ public class SyncDat
private int channel;
public SyncDat(AEBaseContainer container, Field field, GuiSync annotation) {
public SyncData(AEBaseContainer container, Field field, GuiSync annotation) {
clientVersion = null;
this.source = container;
this.field = field;