mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 19:30:51 -07:00
Make custom Env flag reliably possible (#8019)
* Make custom Env flag reliably possible * screw you * "compatibility" for mods that don't use add()
This commit is contained in:
parent
d7d5ba7510
commit
93f630bb69
3 changed files with 92 additions and 10 deletions
|
|
@ -190,7 +190,7 @@ public class ApplicationTests{
|
|||
|
||||
@Test
|
||||
void writeRules(){
|
||||
ByteBuffer buffer = ByteBuffer.allocate(500);
|
||||
ByteBuffer buffer = ByteBuffer.allocate(1000);
|
||||
|
||||
Rules rules = new Rules();
|
||||
rules.attackMode = true;
|
||||
|
|
@ -981,4 +981,4 @@ public class ApplicationTests{
|
|||
tile.build.handleStack(item, 1, unit);
|
||||
assertEquals(capacity, tile.build.items.get(item));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue