heyhey123
heyhey123
### Describe the bug 使用native api里NativeFunction原生函数的hook方法后,当原函数被调用,服务端就会崩溃 ### To Reproduce 如下例,当玩家与村民等实体交互时,即原函数被调用时,服务端崩溃 ```javascript let func = NativeFunction.fromSymbol("?interact@Player@@QEAA_NAEAVActor@@AEBVVec3@@@Z"); func.hook((pl, act, pos) => { let res = func.call(pl, act, pos); return res; }); ```...
**Describe the bug** When producing a fat JAR with Gradle Shadow and adding com.github.retrooper:packetevents-spigot:2.10.0 as an implementation dependency, the plugin.yml inside that dependency replaces my own src/main/resources/plugin.yml in the final...