1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 09:07:55 +00:00

Some sanity checks for get{Direction,Orientation}

Silly bodge, but should fix #600.
This commit is contained in:
SquidDev
2020-12-10 19:13:49 +00:00
committed by Jummit
parent 02c7903cb7
commit d6c5a5bd27
2 changed files with 11 additions and 1 deletions

View File

@@ -435,3 +435,10 @@ ea3a16036794357c3a44edffc90fdb652e03881e
Remove a couple of todos
```
```
bb8f4c624bf87169b73fb631d8250cfc38181e15
Some sanity checks for get{Direction,Orientation}
```
Use `getCachedState` instead of forge's `getBlockState` and `contains` instead of `has`.