Fixed owner group being null
This commit is contained in:
parent
fd2db61d08
commit
dbf141b7e5
1 changed files with 5 additions and 1 deletions
|
@ -257,6 +257,10 @@ public class TileEntityInv extends TileEntityAdvanced implements IExternalInv, I
|
|||
@Override
|
||||
public AccessGroup getOwnerGroup()
|
||||
{
|
||||
if (this.getGroup("owner") == null)
|
||||
{
|
||||
this.groups.add(new AccessGroup("owner"));
|
||||
}
|
||||
return this.getGroup("owner");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue