Initiate placeholder registry

This commit is contained in:
N0tMyFaultOG 2020-12-05 15:08:27 +01:00
parent 19d7444946
commit f14121e99c
No known key found for this signature in database
GPG Key ID: 823348042DA95A81

View File

@ -209,6 +209,8 @@ public class PlotSquared {
this.eventDispatcher = new EventDispatcher(this.worldedit); this.eventDispatcher = new EventDispatcher(this.worldedit);
// Create plot listener // Create plot listener
this.plotListener = new PlotListener(this.eventDispatcher); this.plotListener = new PlotListener(this.eventDispatcher);
// Create placeholder registry
placeholderRegistry = new PlaceholderRegistry(eventDispatcher);
// Copy files // Copy files
copyFile("addplots.js", Settings.Paths.SCRIPTS); copyFile("addplots.js", Settings.Paths.SCRIPTS);