Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod sorting #177

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
Fixed Bug: #880 - ME Chest can't be protected by ME Security Terminal.
  • Loading branch information
thepaperpilot committed Sep 27, 2014
commit 3cfae2d9d456a25344cc6eb18c1fea0113eaac79
5 changes: 4 additions & 1 deletion src/main/java/appeng/block/storage/BlockChest.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int sid
{
ICellHandler ch = AEApi.instance().registries().cell().getHandler( cell );

tg.openGui( p, ch, cell, side );
if ( GuiBridge.GUI_CHEST.hasPermissions(tg, x, y, z, ForgeDirection.values()[side], p) )
{
tg.openGui( p, ch, cell, side );
}
}
else
p.addChatMessage( PlayerMessages.ChestCannotReadStorageCell.get() );
Expand Down