mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Register placeholders
This commit is contained in:
		@@ -87,7 +87,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>be.maximvdw</groupId>
 | 
					      <groupId>be.maximvdw</groupId>
 | 
				
			||||||
      <artifactId>MVdWPlaceholderAPI</artifactId>
 | 
					      <artifactId>MVdWPlaceholderAPI</artifactId>
 | 
				
			||||||
      <version>3.1.1-SNAPSHOT</version>
 | 
					      <version>2.1.1-SNAPSHOT</version>
 | 
				
			||||||
      <scope>compile</scope>
 | 
					      <scope>compile</scope>
 | 
				
			||||||
      <exclusions>
 | 
					      <exclusions>
 | 
				
			||||||
        <exclusion>
 | 
					        <exclusion>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -369,14 +369,11 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain<
 | 
				
			|||||||
                ChatFormatter.formatters.add(new PlaceholderFormatter());
 | 
					                ChatFormatter.formatters.add(new PlaceholderFormatter());
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            PlotSquared.log(Captions.PREFIX + "&6PlotSquared hooked into PlaceholderAPI");
 | 
					            PlotSquared.log(Captions.PREFIX + "&6PlotSquared hooked into PlaceholderAPI");
 | 
				
			||||||
        } else {
 | 
					 | 
				
			||||||
            PlotSquared
 | 
					 | 
				
			||||||
                .debug(Captions.PREFIX + "&6PlaceholderAPI is not in use. Hook deactivated.");
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (Bukkit.getPluginManager().isPluginEnabled("MVdWPlaceholderAPI")) {
 | 
					        if (Bukkit.getPluginManager().getPlugin("MVdWPlaceholderAPI") != null) {
 | 
				
			||||||
            new MVdWPlaceholders(this, PlotSquared.get().getPlaceholderRegistry());
 | 
					            new MVdWPlaceholders(this, PlotSquared.get().getPlaceholderRegistry());
 | 
				
			||||||
            PlotSquared.log(Captions.PREFIX + "&cPlotSquared hooked into MVdWPlaceholderAPI");
 | 
					            PlotSquared.log(Captions.PREFIX + "&6PlotSquared hooked into MVdWPlaceholderAPI");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.startMetrics();
 | 
					        this.startMetrics();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user