Skip to content

Commit

Permalink
Remove unused version field
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Jul 5, 2020
1 parent fc795c2 commit 5cc4a34
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.hm.petmaster.listener;

import com.hm.mcshared.particle.ReflectionUtils;
import com.hm.petmaster.PetMaster;
import org.bukkit.entity.AnimalTamer;
import org.bukkit.entity.Entity;
Expand All @@ -13,14 +12,12 @@

public class PlayerLeashListener implements Listener {
private final PetMaster plugin;
private final int version;

// Configuration parameters.
private boolean disableLeash;

public PlayerLeashListener(PetMaster petMaster) {
this.plugin = petMaster;
version = Integer.parseInt(ReflectionUtils.PackageType.getServerVersion().split("_")[1]);
}

public void extractParameters() {
Expand Down

0 comments on commit 5cc4a34

Please sign in to comment.