mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
Added Scripting Projectile and Barrier Syncing
This commit is contained in:
1 parent
ed176cfaf5
commit
182f7d8c9c
15 files changed
+440
-2
No files matched your search
@@ -140,4 +140,12 @@ public class ScriptEnergyBarrier<T extends EntityEnergyBarrier> extends ScriptEn
|
||||
public int getBarrierType() {
|
||||
return entity instanceof EntityEnergyDome ? 0 : 1;
|
||||
}
|
||||
|
||||
// ==================== SYNC ====================
|
||||
|
||||
public void syncClient() {
|
||||
if (entity.addedToChunk) {
|
||||
entity.sendClientSync();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user