Skip to content
Permalink
Browse files

Send capability entity data to the entire server, in case other playe…

…rs are very far away
  • Loading branch information...
TheTemportalist
TheTemportalist committed Jun 11, 2016
1 parent d2ca8e8 commit a3dfe420fc69c0bacf43ae7f705a59fc2d733fc5
@@ -37,8 +37,8 @@ trait IExtendedEntitySync[N <: NBTTagCompound, E <: Entity] extends INBTSerializ
}

def sendNBTToClient(entity: E, nbt: NBTTagCompound): Unit = {
this.constructPacket(entity, nbt).sendToAllAround(
this.getNetworkMod, this.getPacketTargetPoint(entity))
this.constructPacket(entity, nbt).sendToDimension(
this.getNetworkMod, entity.getEntityWorld.provider.getDimension)
}

def sendNBTToServer(entity: E, nbt: NBTTagCompound): Unit = {

0 comments on commit a3dfe42

Please sign in to comment.
You can’t perform that action at this time.