Network migration

This commit is contained in:
ProfMobius committed 2014-05-10 20:43:12 +02:00
1 parent 23cfe73004
commit baafce9698
59 files changed
+448 -555

No files matched your search

@@ -186,12 +186,12 @@ public enum EntityManager {
public boolean teleportEntity(Entity src, Entity trg, EntityPlayerMP msgtrg){
if ((src == null) && (msgtrg != null)) {
PacketManager.sendToPlayer(new Packet3Chat(ChatMessageComponent.createFromText(String.format("\u00A7oCannot find source entity %s", src))), msgtrg);
PacketManager.sendChatMsg(String.format("\u00A7oCannot find source entity %s", src), msgtrg);
return false;
}
if ((trg == null) && (msgtrg != null)) {
PacketManager.sendToPlayer(new Packet3Chat(ChatMessageComponent.createFromText(String.format("\u00A7oCannot find target entity %s", trg))), msgtrg);
PacketManager.sendChatMsg(String.format("\u00A7oCannot find target entity %s", src), msgtrg);
return false;
}