Merge pull request #3480 from terinjokes/patches/set-sign-lines

fix: explicitly set sign lines
This commit is contained in:
mikeprimm 2021-09-07 22:05:12 -05:00 committed by GitHub
commit 991361c15e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,6 +398,10 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
if(p != null) dp = new BukkitPlayer(p);
core.listenerManager.processSignChangeEvent(EventType.SIGN_CHANGE, b.getType().name(),
getWorld(l.getWorld()).getName(), l.getBlockX(), l.getBlockY(), l.getBlockZ(), lines, dp);
for (int i = 0; i < 4; i++) {
evt.setLine(i, lines[i]);
}
}
}, DynmapPlugin.this);
break;