mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed editor indices
This commit is contained in:
@@ -48,12 +48,10 @@ public class BlockIndexer{
|
||||
clearFlags();
|
||||
|
||||
Events.on(TilePreChangeEvent.class, event -> {
|
||||
if(state.isEditor()) return;
|
||||
removeIndex(event.tile);
|
||||
});
|
||||
|
||||
Events.on(TileChangeEvent.class, event -> {
|
||||
if(state.isEditor()) return;
|
||||
addIndex(event.tile);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user