File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
src/main/java/adhdmc/villagerinfo Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 24
24
import org .bukkit .persistence .PersistentDataContainer ;
25
25
import org .bukkit .persistence .PersistentDataType ;
26
26
import org .bukkit .scheduler .BukkitRunnable ;
27
-
28
27
import java .util .HashMap ;
29
28
import java .util .UUID ;
30
29
@@ -38,8 +37,6 @@ public class VillagerHandler implements Listener {
38
37
public static Location villagerJobsiteLocation ;
39
38
public static boolean SillyResult ;
40
39
41
-
42
-
43
40
@ EventHandler
44
41
public void onVillagerClick (PlayerInteractEntityEvent event ) {
45
42
Player player = event .getPlayer ();
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ public final class VillagerInfo extends JavaPlugin {
19
19
@ Override
20
20
public void onEnable (){
21
21
plugin = this ;
22
-
23
22
int pluginId = 13653 ; // bStats ID
24
23
Metrics metrics = new Metrics (this , pluginId );
25
24
getServer ().getPluginManager ().registerEvents (new VillagerHandler (), this );
@@ -38,7 +37,6 @@ public void onDisable(){
38
37
});
39
38
VillagerHandler .workstationShulker .clear ();
40
39
}
41
-
42
40
private void paperCheck () {
43
41
try {
44
42
Class .forName ("com.destroystokyo.paper.entity.villager.Reputation" );
@@ -49,7 +47,6 @@ private void paperCheck() {
49
47
Bukkit .getConsoleSender ().sendMessage (ChatColor .YELLOW + "[VillagerInfo] This version does not run on Paper, some features may be disabled." );
50
48
}
51
49
}
52
-
53
50
private void configDefaults () {
54
51
this .saveDefaultConfig ();
55
52
getConfig ().addDefault ("Profession" , true );
You can’t perform that action at this time.
0 commit comments