Buggy code:
if ( original == null ) { throw new ConfigRuntimeException ( "is_cancelled<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>called<seq2seq4repair_space>outside<seq2seq4repair_space>an<seq2seq4repair_space>event<seq2seq4repair_space>handler" , ExceptionType . BindException , line_num , f ) ; } if ( ( ( ( original . getUnderlyingEvent ( ) ) != null ) && ( ( original . getUnderlyingEvent ( ) ) instanceof Cancellable ) ) && ( ( original . getUnderlyingEvent ( ) ) instanceof Event ) ) { ( ( Cancellable ) ( original . getUnderlyingEvent ( ) ) ) . setCancelled ( true ) ; BukkitDirtyRegisteredListener . setCancelled ( ( ( Event ) ( original . getUnderlyingEvent ( ) ) ) ) ; } environment . GetEvent ( ) . setCancelled ( true ) ; return new CVoid ( line_num , f ) ; } } @ api public static class enchant_inv_unsafe implements Function { public String getName ( ) { } public Integer [ ] numArgs ( ) { } public String docs ( ) { } public ExceptionType [ ] thrown ( ) { } public boolean isRestricted ( ) { } public boolean preResolveVariables ( ) { } public String since ( ) { } public Boolean runAsync ( ) { } public Construct exec ( int line_num , File f , Env environment , Construct ... args ) throws ConfigRuntimeException { MCPlayer m = environment . GetPlayer ( ) ; int offset = 1 ; if ( ( args . length ) == 4 ) { m = Static . GetPlayer ( args [ 0 ] . val ( ) , line_num , f ) ; offset = 0 ; } MCItemStack is = null ; if ( ( args [ ( 1 - offset ) ] ) instanceof CNull ) { is = m . getItemInHand ( ) ; } else { int slot = ( ( int ) ( Static . getInt ( args [ ( 1 - offset ) ] ) ) ) ; is = m . getInventory ( ) . getItem ( slot ) ; } CArray enchantArray = new CArray ( line_num , f ) ; if ( ! ( ( args [ ( 2 - offset ) ] ) instanceof CArray ) ) { enchantArray . push ( args [ ( 2 - offset ) ] ) ; } else { enchantArray = ( ( CArray ) ( args [ ( 2 - offset ) ] ) ) ; } CArray levelArray = new CArray ( line_num , f ) ; if ( ! ( ( args [ ( 3 - offset ) ] ) instanceof CArray ) ) { levelArray . push ( args [ ( 3 - offset ) ] ) ; } else { levelArray = ( ( CArray ) ( args [ ( 3 - offset ) ] ) ) ; } for ( String key : enchantArray . keySet ( ) ) { MCEnchantment e = StaticLayer . GetEnchantmentByName ( Enchantments . ConvertName ( enchantArray . get ( key , line_num , f ) . val ( ) ) . toUpperCase ( ) ) ; if ( e == null ) { throw new ConfigRuntimeException ( ( ( enchantArray . get ( key , line_num , f ) . val ( ) . toUpperCase ( ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>a<seq2seq4repair_space>valid<seq2seq4repair_space>enchantment<seq2seq4repair_space>type" ) , ExceptionType . EnchantmentException , line_num , f ) ; } int level = ( ( int ) ( Static . getInt ( new CString ( Enchantments . ConvertLevel ( levelArray . get ( key , line_num , f ) . val ( ) ) , line_num , f ) ) ) ) ; is . addUnsafeEnchantment ( e , level ) ; } return new CVoid ( line_num , f ) ; } } @ api public static class raw_set_pvanish implements Function { public String getName ( ) { } public Integer [ ] numArgs ( ) { } public String docs ( ) { } public ExceptionType [ ] thrown ( ) { } public boolean isRestricted ( ) { } public boolean preResolveVariables ( ) { } public Boolean runAsync ( ) { } public Construct exec ( int line_num , File f , Env environment , Construct ... args ) throws ConfigRuntimeException { MCPlayer me ; boolean isVanished ; MCPlayer other ; if ( ( args . length ) == 2 ) { me = environment . GetPlayer ( ) ; isVanished = Static . getBoolean ( args [ 0 ] ) ; other = Static . GetPlayer ( args [ 1 ] ) ; } else { me = Static . GetPlayer ( args [ 0 ] ) ; isVanished = Static . getBoolean ( args [ 1 ] ) ; other = Static . GetPlayer ( args [ 2 ] ) ; } <START_BUG> me . setVanished ( other , isVanished ) ; <END_BUG> return new CVoid ( line_num , f ) ; } public String since ( ) { } } @ api public static class raw_pcan_see implements Function { public String getName ( ) { } public Integer [ ] numArgs ( ) { } public String docs ( ) { } public ExceptionType [ ] thrown ( ) { } public boolean isRestricted ( ) { } public boolean preResolveVariables ( ) { } public Boolean runAsync ( ) { } public Construct exec ( int line_num , File f , Env environment , Construct ... args ) throws ConfigRuntimeException { MCPlayer me ; MCPlayer other ; if ( ( args . length ) == 1 ) { me = environment . GetPlayer ( ) ; other = Static . GetPlayer ( args [ 0 ] ) ; } else { me = Static . GetPlayer ( args [ 0 ] ) ; other = Static . GetPlayer ( args [ 1 ] ) ; } return new CBoolean ( me . canSee ( other ) , line_num , f ) ; } public String since ( ) { } } }

Fix:
other . setVanished ( isVanished , me ) ;