Partial Cross Team Interaction Exploit Fix (#722)

* Delete Mindustry-64.zip

* Delete core\src\io\anuke\mindustry\ui\dialogs\SaveDialog.java

* It seems like... Exploit Patch?

* 2nd

* idk man
This commit is contained in:
(G_H)
2019-09-26 19:07:31 -04:00
committed by Anuken
parent ecff04424d
commit 276b79a748
13 changed files with 16 additions and 1 deletions
@@ -47,6 +47,7 @@ public class ItemTransfer extends TimedEntity implements DrawTrait{
@Remote(called = Loc.server)
public static void transferItemTo(Item item, int amount, float x, float y, Tile tile){
if(tile == null || tile.entity == null || tile.entity.items == null) return;
if(!tile.interactable(player.getTeam())) return;
for(int i = 0; i < Mathf.clamp(amount / 3, 1, 8); i++){
Time.run(i * 3, () -> create(item, x, y, tile, () -> {
}));