fix
This commit is contained in:
3 files changed
+11
-1
No files matched your search
@@ -71,6 +71,11 @@ Optimized the dragon respawn logic, for endstone farms. Ported from Carpet AMS A
|
||||
|
||||
Elytra in crafting recipes won't be consumed. This allows players to craft extra elytras.
|
||||
|
||||
This will **NOT** add a recipe for elytra, to enable the default recipe by StarLight Server, execute:
|
||||
```mcfunction
|
||||
datapack enable elytra-craftable
|
||||
```
|
||||
|
||||
### spectatorCannotUseLeash
|
||||
|
||||
When player becomes spectator, the leash will be detached.
|
||||
@@ -71,6 +71,12 @@ SLS 添加提供了一个机器人系统,具有更好的权限控制和更多
|
||||
|
||||
在制作配方中,鞘翅不会被消耗。这允许玩家制作额外的鞘翅。
|
||||
|
||||
这不会为鞘翅添加配方,要启用 StarLight Server 的默认配方,请执行:
|
||||
|
||||
```mcfunction
|
||||
datapack enable elytra-craftable
|
||||
```
|
||||
|
||||
### spectatorCannotUseLeash
|
||||
|
||||
当玩家成为旁观者时,拴绳将断开。
|
||||
@@ -10,7 +10,6 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
|
||||
@Mixin(SleepManager.class)
|
||||
public class MixinSleepManager {
|
||||
|
||||
@Redirect(method = "update", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/network/ServerPlayerEntity;isSpectator()Z"))
|
||||
private boolean isNormalPlayer(ServerPlayerEntity serverPlayerEntity) {
|
||||
if (SLSCarpetSettings.fakePlayersNotOccupiedSleepQuota) {
|
||||
|
||||
Reference in new issue
Block a user