Skip to content

Commit 16e91d1

Browse files
committed
BackwardsCompat: WrapperPlayServerAbilities
1 parent f8a92c7 commit 16e91d1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

PacketWrapper/src/main/java/com/comphenix/packetwrapper/WrapperPlayServerAbilities.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
*/
1919
package com.comphenix.packetwrapper;
2020

21+
import com.comphenix.packetwrapper.util.BackwardsCompatible;
2122
import com.comphenix.protocol.PacketType;
2223
import com.comphenix.protocol.events.PacketContainer;
2324

25+
@BackwardsCompatible
2426
public class WrapperPlayServerAbilities extends AbstractPacket {
2527
public static final PacketType TYPE = PacketType.Play.Server.ABILITIES;
2628

@@ -41,16 +43,16 @@ public void setInvulnerable(boolean value) {
4143
handle.getBooleans().write(0, value);
4244
}
4345

44-
/**Misspelled.
45-
* @see #isInvulnerable()
46+
/**
47+
* @deprecated use {@link #isInvulnerable()} instead
4648
*/
4749
@Deprecated
4850
public boolean isInvulnurable() {
4951
return isInvulnerable();
5052
}
5153

52-
/**Misspelled.
53-
* @see #setInvulnerable(boolean)
54+
/**
55+
* @deprecated use {@link #setInvulnerable(boolean)} instead
5456
*/
5557
@Deprecated
5658
public void setInvulnurable(boolean value) {

0 commit comments

Comments
 (0)