Fixed multiblock exploit

This commit is contained in:
Anuken
2019-04-04 23:53:51 -04:00
parent 45d157fe3f
commit 330820062f
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -79,10 +79,10 @@ public class Minimap extends Container<Element>{
}
super.touchDragged(event, x, y, pointer);
//if(mobile){
if(mobile){
float max = Math.min(world.width(), world.height()) / 16f / 2f;
renderer.minimap.setZoom(1f + y / height * (max - 1f));
//}
}
}
@Override