Fixed owner group being null

This commit is contained in:
DarkGuardsman 2013-10-26 18:24:16 -04:00
parent fd2db61d08
commit dbf141b7e5

View file

@ -257,6 +257,10 @@ public class TileEntityInv extends TileEntityAdvanced implements IExternalInv, I
@Override @Override
public AccessGroup getOwnerGroup() public AccessGroup getOwnerGroup()
{ {
if (this.getGroup("owner") == null)
{
this.groups.add(new AccessGroup("owner"));
}
return this.getGroup("owner"); return this.getGroup("owner");
} }