mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-17 00:23:41 +01:00
make pulley key null, could avoid a crash
This commit is contained in:
parent
b63466774b
commit
1de931a122
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ public class BeltInstance extends KineticTileInstance<BeltTileEntity> {
|
||||||
keys.forEach(InstanceKey::delete);
|
keys.forEach(InstanceKey::delete);
|
||||||
keys.clear();
|
keys.clear();
|
||||||
if (pulleyKey != null) pulleyKey.delete();
|
if (pulleyKey != null) pulleyKey.delete();
|
||||||
|
pulleyKey = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private float getScrollSpeed() {
|
private float getScrollSpeed() {
|
||||||
|
|
Loading…
Reference in a new issue