Fix some piston operations where pistons have their state toggled mid-operation

This commit is contained in:
zml2008
2012-01-16 16:49:54 -08:00
parent efb7b3509a
commit 31bd786fdf
2 changed files with 14 additions and 8 deletions

View File

@ -61,7 +61,7 @@ public class RhinoCraftScriptEngine implements CraftScriptEngine {
if (e instanceof WrappedException) {
Throwable cause = ((WrappedException) e).getCause();
if (cause instanceof WorldEditException) {
throw ((WrappedException) e).getCause();
throw cause;
}
}