Skip to content

Commit

Permalink
Fixed sorter loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jun 7, 2019
1 parent c2d619c commit e7fb128
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package io.anuke.mindustry.world.blocks.distribution;

import io.anuke.annotations.Annotations.Loc;
import io.anuke.annotations.Annotations.Remote;
import io.anuke.annotations.Annotations.*;
import io.anuke.arc.Core;
import io.anuke.arc.graphics.g2d.Draw;
import io.anuke.arc.math.Mathf;
import io.anuke.arc.scene.ui.layout.Table;
import io.anuke.mindustry.entities.type.Player;
import io.anuke.mindustry.entities.type.TileEntity;
import io.anuke.mindustry.entities.type.*;
import io.anuke.mindustry.gen.Call;
import io.anuke.mindustry.type.Item;
import io.anuke.mindustry.world.*;
Expand Down Expand Up @@ -155,7 +153,7 @@ public void read(DataInput stream, byte revision) throws IOException{
super.read(stream, revision);
sortItem = content.item(stream.readShort());
if(revision == 1){
new ItemBuffer(20, 45f).read(stream);
new DirectionalItemBuffer(20, 45f).read(stream);
}
}
}
Expand Down

0 comments on commit e7fb128

Please sign in to comment.