Fix for broadcast.

This commit is contained in:
Brianna O'Keefe 2018-12-29 11:56:20 -05:00
parent b7dc8dcd93
commit bd977b6f60
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "EpicFarming"
path: "/builds/Songoda/$name"
version: "2.0.19"
version: "2.0.20"
build:
stage: build

View File

@ -89,7 +89,7 @@ public class BlockListeners implements Listener {
}
if (limit != -1 && amt >= limit) {
e.setCancelled(true);
Bukkit.broadcastMessage(instance.getReferences().getPrefix() + instance.getLocale().getMessage("event.limit.hit", limit));
e.getPlayer().sendMessage(instance.getReferences().getPrefix() + instance.getLocale().getMessage("event.limit.hit", limit));
return;
}