diff options
author | riking <rikingcoding@gmail.com> | 2013-04-18 17:50:05 -0700 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-08-07 01:01:12 -0500 |
commit | 0506b709fe9d325725a3ef1c758b7c9843dd7310 (patch) | |
tree | 0c411cf1df2207eccc3e2552f3f5c386b5a565fc /src/main/java/net/minecraft/server/BlockPistonExtension.java | |
parent | 71a6a565720eafabb072c9332619c234c0edc0d8 (diff) | |
download | craftbukkit-0506b709fe9d325725a3ef1c758b7c9843dd7310.tar craftbukkit-0506b709fe9d325725a3ef1c758b7c9843dd7310.tar.gz craftbukkit-0506b709fe9d325725a3ef1c758b7c9843dd7310.tar.lz craftbukkit-0506b709fe9d325725a3ef1c758b7c9843dd7310.tar.xz craftbukkit-0506b709fe9d325725a3ef1c758b7c9843dd7310.zip |
Wrap plugin.getDefaultWorldGenerator in try-catch. Fixes BUKKIT-4116
If a plugin generates an exception when returning a world generator, the
server will crash. This change adds a try-catch block to keep the server
from crashing on plugin defined world generators.
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockPistonExtension.java')
0 files changed, 0 insertions, 0 deletions