use of omtteam.openmodularturrets.network.messages.MessageTurretBase in project OpenModularTurrets by OpenModularTurretsTeam.
the class TurretBaseContainer method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
DebugHandler.getInstance().setListeners(this.listeners);
for (IContainerListener listener : this.listeners) {
if (listener instanceof EntityPlayerMP) {
NetworkingHandler.INSTANCE.sendTo(new MessageTurretBase(this.tileEntity), (EntityPlayerMP) listener);
}
}
}
use of omtteam.openmodularturrets.network.messages.MessageTurretBase in project OpenModularTurrets by OpenModularTurretsTeam.
the class ConfigContainer method detectAndSendChanges.
@Override
public void detectAndSendChanges() {
super.detectAndSendChanges();
DebugHandler.getInstance().setListeners(this.listeners);
for (IContainerListener listener : this.listeners) {
if (listener instanceof EntityPlayerMP) {
NetworkingHandler.INSTANCE.sendTo(new MessageTurretBase(this.tileEntity), (EntityPlayerMP) listener);
}
}
}
Aggregations