This commit is contained in:
Anuken
2020-08-12 21:24:00 -04:00
parent fb511a4eef
commit 1249eb3b00
6 changed files with 52 additions and 10 deletions
+4
View File
@@ -405,6 +405,10 @@ public class Block extends UnlockableContent{
}
public Object pointConfig(Object config, Cons<Point2> transformer){
return config;
}
/** Configure when a null value is passed.*/
public <E extends Building> void configClear(Cons<E> cons){
configurations.put(void.class, (tile, value) -> cons.get((E)tile));