Skip to content

Added more Options to Paper#4068

Closed
TheShermanTanker wants to merge 2 commits into
PaperMC:masterfrom
TheShermanTanker:master
Closed

Added more Options to Paper#4068
TheShermanTanker wants to merge 2 commits into
PaperMC:masterfrom
TheShermanTanker:master

Conversation

@TheShermanTanker
Copy link
Copy Markdown
Contributor

Changelist is the same as #4067 but this time it's even more polished and every change is in an individual commit

Sorry if I appear like an idiot this is pretty much the first time I've tried a Pull Request

@Proximyst
Copy link
Copy Markdown
Contributor

At the very least compile your changes before submitting the PR.

Also, please split these changes into separate PRs for easing the merger's life in selecting which are accepted and which aren't. Join our Discord if you'd like more help, as there are still several issues you need to fix.

@TheShermanTanker
Copy link
Copy Markdown
Contributor Author

TheShermanTanker commented Aug 6, 2020

At the very least compile your changes before submitting the PR.

Also, please split these changes into separate PRs for easing the merger's life in selecting which are accepted and which aren't. Join our Discord if you'd like more help, as there are still several issues you need to fix.

I missed out one line and everything broke :/

As for the PRs I was kind of afraid of spamming several threads into the PR section, I'll try doing that if I have time

I am in the Paper Discord, by the way

@kennytv
Copy link
Copy Markdown
Member

kennytv commented Aug 6, 2020

Readding legacy gamemode ids has nothing to do in a Paper patch (and your spacing is still very much bork)🥶

@MrIvanPlays
Copy link
Copy Markdown
Contributor

When seeing someone use spaces instead of tabs 👀

@Draycia
Copy link
Copy Markdown

Draycia commented Aug 7, 2020

Ivan what are you on about? Any sane person uses spaces instead of tabs.
Look in any patch in your fork and tell me if you find a single tab character.

@MrIvanPlays
Copy link
Copy Markdown
Contributor

Look in any patch in your fork and tell me if you find a single tab character.

image
bruh

@Draycia
Copy link
Copy Markdown

Draycia commented Aug 7, 2020

image
Looks like a space to me.

@JanTuck
Copy link
Copy Markdown
Contributor

JanTuck commented Aug 7, 2020

Ivan IJ defaults to converting tabs to 5 or so spaces.

@MrIvanPlays
Copy link
Copy Markdown
Contributor

Ivan IJ defaults to converting tabs to 5 or so spaces.

Looks like I need to change settings

Copy link
Copy Markdown

@CDFN CDFN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure 0551 won't get merged - it shouldn't be new patch for changing config. One feature = one commit - it'll allow you to keep patches clean.
If I'm wrong in any review please correct me =)

@@ -0,0 +1,29 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: BuildTools <unconfigured@null.spigotmc.org>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong author

@@ -0,0 +1,41 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: BuildTools <unconfigured@null.spigotmc.org>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong author

@@ -0,0 +1,23 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: BuildTools <unconfigured@null.spigotmc.org>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong author

@@ -0,0 +1,30 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: BuildTools <unconfigured@null.spigotmc.org>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong author

- return 0;
- } else {
int i = this.e;
-
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to remove this line (keep minimal diff as it is only possible0

return this.l;
}

+ public void setOPLevel(GameProfile profile, int level) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep convention - in method below you have addOp, here you have setOPLevel.

}
+
+ @Override
+ public int getOPLevel() {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP -> Op

+ }
+
+ @Override
+ public void setOPLevel(int level) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP -> Op

}
+
+ @Override
+ public int getOPLevel() {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP -> Op

+ }
+
+ @Override
+ public void setOPLevel(int level) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP -> Op

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Further you have more OPs, won't mark it but change it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants