mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-27 21:15:28 +01:00
Fix for broadcast.
This commit is contained in:
parent
b7dc8dcd93
commit
bd977b6f60
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicFarming"
|
||||
path: "/builds/Songoda/$name"
|
||||
version: "2.0.19"
|
||||
version: "2.0.20"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user