parent
c41e2711fb
commit
9b6f9438fd
2 changed files with 7 additions and 1 deletions
|
@ -1,10 +1,16 @@
|
|||
package appeng.container.implementations;
|
||||
|
||||
import appeng.tile.legacy.TileAssembler;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
|
||||
public class ContainerAssemblerMB extends ContainerAssembler {
|
||||
public ContainerAssemblerMB(InventoryPlayer ip, TileAssembler 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();
|
||||
|
||||
if (Platform.hasPermissions(
|
||||
if (this == GUI_ASSEMBLER_MB || Platform.hasPermissions(
|
||||
te != null ? new DimensionalCoord(te)
|
||||
: new DimensionalCoord(player.worldObj, x, y, z),
|
||||
player
|
||||
|
|
Loading…
Reference in a new issue