-
Notifications
You must be signed in to change notification settings - Fork 89
Few little optimisations #365
base: master
Are you sure you want to change the base?
Conversation
will @crafter23456 |
dunno. it only changes the speed back to default when the cart is flying... |
NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/ChunkProviderServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/MinecraftServer.java
Outdated
Show resolved
Hide resolved
…tServer.java Co-authored-by: Elier <[email protected]>
Co-authored-by: Elier <[email protected]>
…viderServer.java Co-authored-by: Elier <[email protected]>
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
…tySign.java Co-authored-by: Elier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personal I think this is a lot of changes in one pull request which makes things really messy, I would suggest breaking them up especially since dep bumping can be high risk
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-iostreams</artifactId> | ||
<version>2.17.1</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it safe to remove these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say. Paper only use the log4j core and the other thing I don't remember currently but we have that too. And my anticheat has a fix for log4j which only activates if the server didn't done it before. Isn't a 100% trust but if paper do it, I guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it would be safe, I don't think it's recommended to combine multiple versions of a library.
IMO, this should be reverted. There's no reason for this.
NachoSpigot-Server/src/main/java/net/minecraft/server/ChunkProviderServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/ChunkProviderServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/ItemBoat.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/MinecraftServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/PlayerConnection.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Elier <[email protected]>
Co-authored-by: Elier <[email protected]>
…CraftBlockState.java Co-authored-by: Elier <[email protected]>
…CraftBlockState.java Co-authored-by: Elier <[email protected]>
…CraftBlockState.java Co-authored-by: Elier <[email protected]>
…CraftBlockState.java Co-authored-by: Elier <[email protected]>
okay thats quiet weird. on my fork it builds, and here not. in fact that it builded here until we commited entityhuman out... |
That’s because it can’t find bungeecord-chat and you have it cached |
Did you add that dependency? If not, we might have a problem again. Need to look into a Maven repository sometime for this. |
no i mean on my repo on GH with the same GH actions xd on my server yes thats cached
I changed the velocity repo link cause it was outdated and the normal build script but it builded here already until we added a commit which isnt related if the api doesnt get found |
It’s caused by the removal of the sonatype parent, I have a fix in crafter23456#3 |
there still open conversations from heath |
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-iostreams</artifactId> | ||
<version>2.17.1</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it would be safe, I don't think it's recommended to combine multiple versions of a library.
IMO, this should be reverted. There's no reason for this.
NachoSpigot-Server/src/main/java/net/minecraft/server/ItemBoat.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/MinecraftServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
moving it to another PR
@Lucaskyy I personally like the time per player feature, and it has no performance impact so yea. I used time per player and it worked on nacho |
i split the boat thing into another PR. so now its not that much |
NachoSpigot-Server/src/main/java/net/minecraft/server/MinecraftServer.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/net/minecraft/server/TileEntitySign.java
Outdated
Show resolved
Hide resolved
NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java
Outdated
Show resolved
Hide resolved
Is this getBlock could cause NoCom exploit server crash?
At 2022-03-26 16:22:23, "Heath L Campbell" ***@***.***> wrote:
@HeathLoganCampbell commented on this pull request.
In NachoSpigot-Server/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java:
@@ -132,7 +129,7 @@ public int getTypeId() {
}
public byte getLightLevel() {
- return light;
+ return getBlock().getLightLevel();
Like this might be good if CraftBlockState gets generated everytime getblock is created and getLightLevel isn't hit alot
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
@HeathLoganCampbell I removed the new world time patch. Is there anything else I missed? |
Description
Use Vanilla Minecart Speeds
Optimize World Time Updates PaperMC/Paper@70e091b
I bumped some dependencies and updated the velocity repo cause the link was broken. Log4j should be fixed with only the core in fact Paper did only the trove4j and log4j core in their 1.8.8 log4j bugfix.
PaperMC/Paper@2894af0#diff-9f5fad4c579c54b5c3b0080702b87b856679a932ee4338409dab8b8cebe06292R16
Besides of that I got inspired by the spigot 1.18.1 pom and changed gitdescribe to scriptus.
All builds fine. No console errors.
Checklist: