This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
src/main/java/dev/j3fftw/luckypanda Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6262 <dependency >
6363 <groupId >org.spigotmc</groupId >
6464 <artifactId >spigot-api</artifactId >
65- <version >1.17 .1-R0.1-SNAPSHOT</version >
65+ <version >1.18 .1-R0.1-SNAPSHOT</version >
6666 <scope >provided</scope >
6767 <exclusions >
6868 <exclusion >
Original file line number Diff line number Diff line change 1919 <dependency >
2020 <groupId >org.spigotmc</groupId >
2121 <artifactId >spigot-api</artifactId >
22- <version >1.17 .1-R0.1-SNAPSHOT</version >
22+ <version >1.18 .1-R0.1-SNAPSHOT</version >
2323 <scope >provided</scope >
2424 </dependency >
2525
Original file line number Diff line number Diff line change 33import dev .j3fftw .luckypanda .surprise .Surprise ;
44import io .github .bakedlibs .dough .data .persistent .PersistentDataAPI ;
55import io .github .bakedlibs .dough .protection .Interaction ;
6+ import org .bukkit .ChatColor ;
67import org .bukkit .Location ;
78import org .bukkit .entity .Entity ;
89import org .bukkit .entity .Panda ;
@@ -30,6 +31,9 @@ public void onPandaDeath(EntityDeathEvent event) {
3031 Surprise surprise = LuckyPanda .getInstance ().getRandomSurprise ();
3132 if (surprise != null ) {
3233 surprise .process (killer , killed );
34+ killer .sendMessage (ChatColor .GREEN + "You are lucky this time!" );
35+ } else {
36+ killer .sendMessage (ChatColor .GREEN + "Why the hell did you do that?" );
3337 }
3438 }
3539 }
You can’t perform that action at this time.
0 commit comments