Don't clear blockstate cache field
This will break one of FerriteCore's optimizations
This commit is contained in:
parent
a800f6d704
commit
09ffb73a70
|
|
@ -30,7 +30,7 @@ public class BlockStateCacheHandler {
|
||||||
if(reason == BakeReason.FREEZE
|
if(reason == BakeReason.FREEZE
|
||||||
|| reason == BakeReason.REMOTE_SNAPSHOT_INJECT
|
|| reason == BakeReason.REMOTE_SNAPSHOT_INJECT
|
||||||
|| (reason == BakeReason.LOCAL_SNAPSHOT_INJECT && ModernFix.runningFirstInjection)) {
|
|| (reason == BakeReason.LOCAL_SNAPSHOT_INJECT && ModernFix.runningFirstInjection)) {
|
||||||
((IBlockState)state).clearCache();
|
//((IBlockState)state).clearCache();
|
||||||
} else {
|
} else {
|
||||||
state.initCache();
|
state.initCache();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user