generated from tilera/1710mod
fix: containers
This commit is contained in:
parent
c54f9240c2
commit
8a6290228b
|
@ -44,7 +44,7 @@ public class ContainerAlloyFurnace extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileFurnace.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileFurnace.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -49,7 +49,7 @@ public class ContainerAssemble extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileAssemble.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileAssemble.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -44,7 +44,7 @@ public class ContainerBlueAlloyFurnace extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileFurnace.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileFurnace.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -38,7 +38,7 @@ public class ContainerBlueFurnace extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileFurnace.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileFurnace.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ContainerBufferChest extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileBuffer.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileBuffer.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -38,7 +38,7 @@ public class ContainerChargingBench extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileCB.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileCB.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ContainerDeploy extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileDeploy.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileDeploy.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ContainerEject extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileEject.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileEject.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -39,7 +39,7 @@ public class ContainerFilter extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileFilter.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileFilter.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -41,7 +41,7 @@ public class ContainerItemDetect extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileDetect.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileDetect.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public class ContainerManager extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileManager.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileManager.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -44,7 +44,7 @@ public class ContainerRegulator extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileRegulator.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileRegulator.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public class ContainerRetriever extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileRetriever.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileRetriever.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -45,7 +45,7 @@ public class ContainerSorter extends Container implements IHandleGuiEvent {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileSorter.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileSorter.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ContainerWindTurbine extends Container {
|
|||
}
|
||||
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return this.tileWT.isUseableByPlayer(player);
|
||||
return player.worldObj.isRemote || this.tileWT.isUseableByPlayer(player);
|
||||
}
|
||||
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int i) {
|
||||
|
|
Loading…
Reference in New Issue