File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed
src/main/java/org/maxgamer/quickshop Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public void onBreak(BlockBreakEvent e) {
145145 if (getPlugin ().getConfiguration ().getBoolean ("shop.allow-owner-break-shop-sign" ) && p .getUniqueId ().equals (shop .getOwner ())) {
146146 return ;
147147 }
148- Util .debugLog ("Cannot break the sign." );
148+ Util .debugLog ("Player cannot break the shop infomation sign." );
149149 e .setCancelled (true );
150150 }
151151 }
Original file line number Diff line number Diff line change @@ -38,9 +38,8 @@ public ChatListener(QuickShop plugin) {
3838
3939 @ EventHandler (priority = EventPriority .LOWEST )
4040 public void onChat (AsyncPlayerChatEvent e ) {
41-
4241 if (e .isCancelled () && plugin .getConfiguration ().getBoolean ("shop.ignore-cancel-chat-event" )) {
43- Util .debugLog ("Ignored a chat event (Canceled by another plugin. )" );
42+ Util .debugLog ("Ignored a chat event (Cancelled by another plugin, you can force process by turn on ignore-cancel-chat-event )" );
4443 return ;
4544 }
4645
Original file line number Diff line number Diff line change @@ -360,11 +360,10 @@ public void onMove(PlayerMoveEvent e) {
360360 if (loc1 .getWorld () != loc2 .getWorld () || loc1 .distanceSquared (loc2 ) > 25 ) {
361361 if (info .getAction () == ShopAction .BUY ) {
362362 plugin .text ().of (p , "shop-purchase-cancelled" ).send ();
363- Util .debugLog (p .getName () + " too far with the shop location." );
364363 } else if (info .getAction () == ShopAction .CREATE ) {
365364 plugin .text ().of (p , "shop-creation-cancelled" ).send ();
366- Util .debugLog (p .getName () + " too far with the shop location." );
367365 }
366+ Util .debugLog (p .getName () + " too far with the shop location." );
368367 plugin .getShopManager ().getActions ().remove (p .getUniqueId ());
369368 }
370369 }
Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ public ContainerShop(
166166 if (item .hasItemMeta ()) {
167167 ItemMeta meta = item .getItemMeta ();
168168 if (meta .hasDisplayName ()) {
169- Util .debugLog ("Shop item display is: " + meta .getDisplayName ());
170169 //https://hub.spigotmc.org/jira/browse/SPIGOT-5964
171170 if (meta .getDisplayName ().matches ("\\ {.*}" )) {
172171 meta .setDisplayName (meta .getDisplayName ());
You can’t perform that action at this time.
0 commit comments