mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Pass variant and rotationVariant to getIsReplaceable
This commit is contained in:
@@ -15,9 +15,9 @@ const BeltExtension = ({ $super, $old }) => ({
|
||||
return !$old.getShowWiresLayerPreview();
|
||||
},
|
||||
|
||||
getIsReplaceable() {
|
||||
getIsReplaceable(variant, rotationVariant) {
|
||||
// Instead of super, use $super
|
||||
return $super.getIsReplaceable.call(this);
|
||||
return $super.getIsReplaceable.call(this, variant, rotationVariant);
|
||||
},
|
||||
|
||||
getIsRemoveable() {
|
||||
|
||||
Reference in New Issue
Block a user