Fixes tab issue

This commit is contained in:
libraryaddict 2019-07-26 00:52:01 +12:00 committed by GitHub
parent e5ed366a33
commit 18f1886e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,7 +284,7 @@ public class PacketHandlerSpawn implements IPacketHandler {
if (!((PlayerDisguise) disguise).isDisplayedInTab()) { if (!((PlayerDisguise) disguise).isDisplayedInTab()) {
if (LibsPremium.getPaidInformation() == null || if (LibsPremium.getPaidInformation() == null ||
LibsPremium.getPaidInformation().getVersion().matches("[0-9]+")) { LibsPremium.getPaidInformation().getBuildNumber().matches("[0-9]+")) {
packets.addDelayedPacket(deleteTab, DisguiseConfig.getPlayerDisguisesTablistExpires()); packets.addDelayedPacket(deleteTab, DisguiseConfig.getPlayerDisguisesTablistExpires());
} }
} }