mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 23:33:49 +01:00
Fix incorrect method descriptor in previous commit
This commit is contained in:
parent
3d19f011e9
commit
c7ba97906c
1 changed files with 2 additions and 2 deletions
|
@ -207,10 +207,10 @@ public class Commodore
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// SPIGOT-4608
|
// SPIGOT-4608
|
||||||
if ( (owner.equals( "org/bukkit/Bukkit" ) || owner.equals( "org/bukkit/Server" ) ) && name.equals( "getMap" ) && desc.equals( "(Lorg/bukkit/map/MapView;)S" ) )
|
if ( (owner.equals( "org/bukkit/Bukkit" ) || owner.equals( "org/bukkit/Server" ) ) && name.equals( "getMap" ) && desc.equals( "(S)Lorg/bukkit/map/MapView;" ) )
|
||||||
{
|
{
|
||||||
// Should be same size on stack so just call other method
|
// Should be same size on stack so just call other method
|
||||||
super.visitMethodInsn( opcode, owner, name, "(Lorg/bukkit/map/MapView;)I", itf );
|
super.visitMethodInsn( opcode, owner, name, "(I)Lorg/bukkit/map/MapView;", itf );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue