mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
fix(avatar): prevent player displacement when sitting or sleeping
Replace AvatarManager.checkIfAnimatingOnTopOf with P-code to fix an issue where players were pushed off others within 100 pixels. This also bypasses decompilation errors in the original class loops.
This commit is contained in:
1 parent
783feb7788
commit
3c2053f434
3 files changed
+27
-1
No files matched your search
@@ -0,0 +1,20 @@
|
||||
method
|
||||
name "checkIfAnimatingOnTopOf"
|
||||
flag HAS_PARAM_NAMES
|
||||
param QName(PackageNamespace(""),"int")
|
||||
paramname "userId"
|
||||
returns QName(PackageNamespace(""),"void")
|
||||
|
||||
body
|
||||
maxstack 1
|
||||
localcount 2
|
||||
initscopedepth 0
|
||||
maxscopedepth 1
|
||||
|
||||
code
|
||||
getlocal0
|
||||
pushscope
|
||||
returnvoid
|
||||
end ; code
|
||||
end ; body
|
||||
end ; method
|
||||
Reference in new issue
Block a user