summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/CraftingManager.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-11-17 11:48:22 -0600
committerTravis Watkins <amaranth@ubuntu.com>2012-11-17 11:48:22 -0600
commit558411692a5995c91687ea6ca90cc9a26ada60ca (patch)
tree673da00e8ce8908aea36ef23d1711b94f895d28c /src/main/java/net/minecraft/server/CraftingManager.java
parent9add7d3000c15268a0b277aabc224c2acf86cc06 (diff)
downloadcraftbukkit-558411692a5995c91687ea6ca90cc9a26ada60ca.tar
craftbukkit-558411692a5995c91687ea6ca90cc9a26ada60ca.tar.gz
craftbukkit-558411692a5995c91687ea6ca90cc9a26ada60ca.tar.lz
craftbukkit-558411692a5995c91687ea6ca90cc9a26ada60ca.tar.xz
craftbukkit-558411692a5995c91687ea6ca90cc9a26ada60ca.zip
Don't wait for main thread when processing commands.
In order to correctly handle disconnects for invalid chat we setup a Waitable and pass it to the main thread then wait for it to be processed. However, commands are also chat packets and they are already on the main thread. In this case, waiting will deadlock the server so we should just do a normal disconnect.
Diffstat (limited to 'src/main/java/net/minecraft/server/CraftingManager.java')
0 files changed, 0 insertions, 0 deletions