Skip to content

Commit

Permalink
Fixed skin timestamp expired
Browse files Browse the repository at this point in the history
  • Loading branch information
hank9999 committed Jul 9, 2020
1 parent 7a7d3c2 commit b545659
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.hank9999</groupId>
<artifactId>UseBlessingSkin</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<packaging>jar</packaging>

<name>UseBlessingSkin</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void run() {
SkinsRestorer skinsRestorer = JavaPlugin.getPlugin(SkinsRestorer.class);
SkinStorage skinStorage = skinsRestorer.getSkinStorage();

skinStorage.setSkinData(" " + commandSender.getName(), skinStorage.createProperty("textures", value, signature));
skinStorage.setSkinData(" " + commandSender.getName(), skinStorage.createProperty("textures", value, signature), "9223243187835955807");
skinStorage.setPlayerSkin(commandSender.getName(), " " + commandSender.getName());
skinsRestorer.getSkinsRestorerBukkitAPI().applySkin((Player) commandSender);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void execute(CommandSender commandSender, String[] strings) {
SkinsRestorer skinsRestorer = SkinsRestorer.getInstance();
SkinStorage skinStorage = skinsRestorer.getSkinStorage();

skinStorage.setSkinData(" " + commandSender.getName(), skinStorage.createProperty("textures", value, signature));
skinStorage.setSkinData(" " + commandSender.getName(), skinStorage.createProperty("textures", value, signature), "9223243187835955807");
skinStorage.setPlayerSkin(commandSender.getName(), " " + commandSender.getName());
skinsRestorer.getSkinsRestorerBungeeAPI().applySkin((ProxiedPlayer) commandSender);

Expand Down

0 comments on commit b545659

Please sign in to comment.