1.25.1.1 - Netherite durability and remove debug code
Changes from 1.25.1.1
- If you're using 1.25.1, make sure to update, otherwise your console will be spammed with the debug code I accidently left in... It's harmless, however.
- Added portal options
PreventDropppedItemsInPortals: true # May prevent a lag exploit.
PreventAllEntitiesInPortals: false # Only enable if you must... Players are not affected.
Changes from 1.25.1
- Fix netherite tools/armor durability being set to maximum, when it's not supposed to. For the technical people, for some reason item.getType().getMaxDurability() was returning
0
for netherrite tools, diamond tools was fine. I'm assuming it's some mistake on the spigot/paper api. Only netherite tools/armor were affected. However, this is a bandaid fix, netherite tools will only be reverted if the durability is higher than the maximum durability of netherrite tools. For example, netherite armor could have more durability, and not be reverted. I believe newer versions should already fix unbreakable items anyway. (#59)
SkipZeroDurability: true # Make sure to keep enabled, otherwise netherite tools will mistakenly be set to maximum durability, due to some bug in spigot.
- Set AntiSpamCommandsUseWhitelist to true by default - It's very annoying for commands to not run because they've been sent before. Now only the specified commands will be triggered by default. Make sure to add any other commands that may cause a problem if spammed.
AntiSpamCommandsUseWhitelist: true # Only enable antispam for commands specified below.