mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 00:05:23 +07:00
Fixed Serpulo-placeable blocks on Erekir
This commit is contained in:
parent
41a3dae138
commit
d5c4f862e7
@ -126,7 +126,7 @@ public class Build{
|
|||||||
/** Returns whether a tile can be placed at this location by this team. */
|
/** Returns whether a tile can be placed at this location by this team. */
|
||||||
public static boolean validPlace(Block type, Team team, int x, int y, int rotation, boolean checkVisible){
|
public static boolean validPlace(Block type, Team team, int x, int y, int rotation, boolean checkVisible){
|
||||||
//the wave team can build whatever they want as long as it's visible - banned blocks are not applicable
|
//the wave team can build whatever they want as long as it's visible - banned blocks are not applicable
|
||||||
if(type == null || (checkVisible && (!type.isPlaceable() && !(state.rules.waves && team == state.rules.waveTeam && type.isVisible())))){
|
if(type == null || (checkVisible && (!type.environmentBuildable() || (!type.isPlaceable() && !(state.rules.waves && team == state.rules.waveTeam && type.isVisible()))))){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,4 +25,4 @@ org.gradle.caching=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=99bb8a5559
|
archash=2eb7608c5d
|
||||||
|
Loading…
Reference in New Issue
Block a user