diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-22 20:49:05 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-22 20:49:05 +0000 |
commit | dda37aa18c16c210c20b184fe1482b41a58db055 (patch) | |
tree | 56ac0d2deff584faec6a8785ed033280a079abe8 /src/main/java/net/minecraft/server/NetServerHandler.java | |
parent | 9d09e7d0167326d4169f734e4b6d04c54d767507 (diff) | |
download | craftbukkit-dda37aa18c16c210c20b184fe1482b41a58db055.tar craftbukkit-dda37aa18c16c210c20b184fe1482b41a58db055.tar.gz craftbukkit-dda37aa18c16c210c20b184fe1482b41a58db055.tar.lz craftbukkit-dda37aa18c16c210c20b184fe1482b41a58db055.tar.xz craftbukkit-dda37aa18c16c210c20b184fe1482b41a58db055.zip |
Nuked TextWrapper. We don't need you anymore, old friend :(
Diffstat (limited to 'src/main/java/net/minecraft/server/NetServerHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index a97f5ec8..59da7748 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -17,16 +17,13 @@ import org.bukkit.ChatColor; import org.bukkit.craftbukkit.ChunkCompressionThread; import org.bukkit.Location; import org.bukkit.command.CommandException; -import org.bukkit.conversations.Conversable; import org.bukkit.craftbukkit.CraftWorld; -import org.bukkit.craftbukkit.inventory.CraftInventoryCustom; import org.bukkit.craftbukkit.inventory.CraftInventoryView; import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.block.CraftBlock; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.craftbukkit.event.CraftEventFactory; import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.craftbukkit.TextWrapper; import org.bukkit.entity.HumanEntity; import org.bukkit.entity.Player; import org.bukkit.event.Event; @@ -804,7 +801,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { this.player.compassTarget = new Location(this.getPlayer().getWorld(), packet6.x, packet6.y, packet6.z); } else if (packet instanceof Packet3Chat) { String message = ((Packet3Chat) packet).message; - for (final String line : TextWrapper.wrapText(message)) { + for (final String line : message.split("\n")) { this.networkManager.queue(new Packet3Chat(line)); } packet = null; |