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-27 07:07:31 +08:00
committed by Anuken
parent ecff04424d
commit 276b79a748
13 changed files with 16 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ public class BlockInventoryFragment extends Fragment{
@Remote(called = Loc.server, targets = Loc.both, forward = true)
public static void requestItem(Player player, Tile tile, Item item, int amount){
if(player == null || tile == null || !player.timer.get(Player.timerTransfer, 20) || !tile.interactable(player.getTeam())) return;
if(!tile.interactable(player.getTeam())) return;
int removed = tile.block().removeStack(tile, item, amount);