parent
c41e2711fb
commit
9b6f9438fd
|
@ -1,10 +1,16 @@
|
||||||
package appeng.container.implementations;
|
package appeng.container.implementations;
|
||||||
|
|
||||||
import appeng.tile.legacy.TileAssembler;
|
import appeng.tile.legacy.TileAssembler;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.entity.player.InventoryPlayer;
|
import net.minecraft.entity.player.InventoryPlayer;
|
||||||
|
|
||||||
public class ContainerAssemblerMB extends ContainerAssembler {
|
public class ContainerAssemblerMB extends ContainerAssembler {
|
||||||
public ContainerAssemblerMB(InventoryPlayer ip, TileAssembler te) {
|
public ContainerAssemblerMB(InventoryPlayer ip, TileAssembler te) {
|
||||||
super(ip, te);
|
super(ip, te);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canInteractWith(EntityPlayer p) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -639,7 +639,7 @@ public enum GuiBridge implements IGuiHandler {
|
||||||
) {
|
) {
|
||||||
final World w = player.getEntityWorld();
|
final World w = player.getEntityWorld();
|
||||||
|
|
||||||
if (Platform.hasPermissions(
|
if (this == GUI_ASSEMBLER_MB || Platform.hasPermissions(
|
||||||
te != null ? new DimensionalCoord(te)
|
te != null ? new DimensionalCoord(te)
|
||||||
: new DimensionalCoord(player.worldObj, x, y, z),
|
: new DimensionalCoord(player.worldObj, x, y, z),
|
||||||
player
|
player
|
||||||
|
|
Loading…
Reference in a new issue