Fixed NoSuchMethodErrorr when stopping server using Paper 1.14

This commit is contained in:
Intelli 2022-12-08 17:55:30 -07:00
parent d82f92e06b
commit 2f28183261

View File

@ -27,10 +27,10 @@ public class PaperAdapter implements PaperInterface {
switch (paperVersion) { switch (paperVersion) {
case PAPER_UNAVAILABLE: case PAPER_UNAVAILABLE:
PaperAdapter.ADAPTER = new PaperAdapter();
break;
case PAPER_V1_13: case PAPER_V1_13:
case PAPER_V1_14: case PAPER_V1_14:
PaperAdapter.ADAPTER = new PaperAdapter();
break;
case PAPER_V1_15: case PAPER_V1_15:
PaperAdapter.ADAPTER = new PaperHandler(); PaperAdapter.ADAPTER = new PaperHandler();
break; break;