mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Fix #2021 Multifarm configurable without board bug
This commit is contained in:
1 parent
ebe6580aaf
commit
5ed536da7c
2 files changed
+1
-2
No files matched your search
@@ -651,7 +651,7 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
|
||||
|
||||
@Override
|
||||
public void setSocket(int slot, ItemStack stack) {
|
||||
if (ChipsetManager.circuitRegistry.isChipset(stack)) {
|
||||
if (ChipsetManager.circuitRegistry.isChipset(stack) || stack.isEmpty()) {
|
||||
// Dispose old chipsets correctly
|
||||
if (!sockets.getStackInSlot(slot).isEmpty()) {
|
||||
if (ChipsetManager.circuitRegistry.isChipset(sockets.getStackInSlot(slot))) {
|
||||
|
||||
@@ -244,7 +244,6 @@ public class TileClimatiser extends TileForestry implements IActivatable, IStrea
|
||||
|
||||
@Override
|
||||
public void setSocket(int slot, ItemStack stack) {
|
||||
|
||||
if (!stack.isEmpty() && !ChipsetManager.circuitRegistry.isChipset(stack)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user