Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2024-02-17 09:03:14 -05:00
2 changed files with 7 additions and 2 deletions

View File

@@ -2372,7 +2372,7 @@ lglobal.@clientLocale = Locale of the client running the code. For example: en_U
lglobal.@clientUnit = Unit of client running the code lglobal.@clientUnit = Unit of client running the code
lglobal.@clientName = Player name of client running the code lglobal.@clientName = Player name of client running the code
lglobal.@clientTeam = Team ID of client running the code lglobal.@clientTeam = Team ID of client running the code
lglobal.@clientMobile = True is the client running the code is on mobile, false otherwise lglobal.@clientMobile = True if the client running the code is on mobile, false otherwise
logic.nounitbuild = [red]Unit building logic is not allowed here. logic.nounitbuild = [red]Unit building logic is not allowed here.
@@ -2532,4 +2532,4 @@ lenum.texturesize = Size of texture in tiles. Zero value scales marker width to
lenum.autoscale = Whether to scale marker corresponding to player's zoom level. lenum.autoscale = Whether to scale marker corresponding to player's zoom level.
lenum.posi = Indexed position, used for line and quad markers with index zero being the first position. lenum.posi = Indexed position, used for line and quad markers with index zero being the first position.
lenum.uvi = Texture's position ranging from zero to one, used for quad markers. lenum.uvi = Texture's position ranging from zero to one, used for quad markers.
lenum.colori = Indexed position, used for line and quad markers with index zero being the first color. lenum.colori = Indexed color, used for line and quad markers with index zero being the first color.

View File

@@ -43,6 +43,11 @@ public class SwitchBlock extends Block{
super.damage(damage); super.damage(damage);
} }
@Override
public boolean canPickup(){
return !privileged;
}
@Override @Override
public boolean collide(Bullet other){ public boolean collide(Bullet other){
return !privileged; return !privileged;