Skip to content

Commit 36ab320

Browse files
committed
Remove wrong comments in the last code example for unregistrations
1 parent bc14e99 commit 36ab320

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

reference-code/src/main/java/createcommands/Unregistration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public void run() {
107107

108108
new JavaPlugin() {
109109
// #region unregisterDelayedVanillaGoodExample
110-
// NOT RECOMMENDED
111110
@Override
112111
public void onEnable() {
113112
new BukkitRunnable() {

reference-code/src/main/kotlin/createcommands/Unregistration.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ fun unregistration() {
9696

9797
object : JavaPlugin() {
9898
// #region unregisterDelayedVanillaGoodExample
99-
// NOT RECOMMENDED
10099
override fun onEnable() {
101100
object : BukkitRunnable() {
102101
override fun run() {

0 commit comments

Comments
 (0)