mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
parent
65be29dbb5
commit
bfa9aa2715
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public final class TeslaUtil{
|
|||
TESLA_MAP.put(tile, handlers);
|
||||
}
|
||||
|
||||
int side = facing.ordinal();
|
||||
int side = facing == null ? 0 : facing.ordinal();
|
||||
if(handlers[side] == null){
|
||||
handlers[side] = new TileTeslaWrapper(tile, facing);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue