mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Added updateClient() function to ScriptNpc.
This commit is contained in:
1 parent
73db2da124
commit
32792e7d6f
4 files changed
+14
-5
No files matched your search
@@ -77,7 +77,7 @@ public class ScriptBlock implements IBlock {
|
||||
}
|
||||
|
||||
public boolean isContainer() {
|
||||
return this.tile != null && this.tile instanceof IInventory?((IInventory)this.tile).getSizeInventory() > 0:false;
|
||||
return this.tile != null && this.tile instanceof IInventory && ((IInventory) this.tile).getSizeInventory() > 0;
|
||||
}
|
||||
|
||||
public IContainer getContainer() {
|
||||
|
||||
Reference in new issue
Block a user