Fixed save crash, nerfed junction speed

This commit is contained in:
Anuken
2018-01-20 10:35:53 -05:00
parent 726b62a395
commit f14ec2e87a
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ public class Vars{
public static float baseControllerSpeed = 11f;
public static final int saveSlots = 16;
public static final int saveSlots = 64;
//amount of drops that are left when breaking a block
public static final float breakDropAmount = 0.5f;

View File

@@ -82,7 +82,7 @@ public class Saves {
}
public boolean canAddSave(){
return nextSlot <= Vars.saveSlots;
return nextSlot < Vars.saveSlots;
}
public void addSave(String name){

View File

@@ -23,7 +23,7 @@ public class Junction extends Block{
int dir = source.relativeTo(tile.x, tile.y);
Tile to = tile.getNearby()[dir];
Timers.run(15, ()->{
Timers.run(30, ()->{
if(to == null) return;
to.block().handleItem(item, to, tile);
});