Fixed save crash, nerfed junction speed
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ public class Saves {
|
||||
}
|
||||
|
||||
public boolean canAddSave(){
|
||||
return nextSlot <= Vars.saveSlots;
|
||||
return nextSlot < Vars.saveSlots;
|
||||
}
|
||||
|
||||
public void addSave(String name){
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user