Commit a8ffeae3 authored by Amosar's avatar Amosar

Fix a bug with the latest worldGuard beta version

parent 5f5be8e6
name: antiRedstoneClock
version: 1.0.3
version: 1.0.4
description: Limit the redstoneClock
author: Amosar
website: https://www.spigotmc.org/resources/antiredstoneclock.18557
......
......@@ -10,7 +10,7 @@ class WorldGuard_7 {
static RegionManager getRegionManager(WorldGuardPlugin worldGuard, World world) {
BukkitWorldGuardPlatform wgPlatform = (BukkitWorldGuardPlatform)
WorldGuard.getInstance().getPlatform();
com.sk89q.worldedit.world.World worldEditWorld = wgPlatform.getMatcher().getWorldByName(world.getName());
com.sk89q.worldedit.world.World worldEditWorld = wgPlatform.getWorldByName(world.getName());
return wgPlatform.getRegionContainer().get(worldEditWorld);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment