mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Merge pull request #256 from CharlesVaneenoo/remove-useless-if2
Remove a useless if in GameObjectDecoder
This commit is contained in:
@@ -172,11 +172,9 @@ public final class GameObjectDecoder implements Runnable {
|
||||
block = true;
|
||||
}
|
||||
|
||||
if ((attributes & BRIDGE_TILE) != 0) {
|
||||
if (height > 0) {
|
||||
if ((attributes & BRIDGE_TILE) != 0 && height >0) {
|
||||
block = true;
|
||||
height--;
|
||||
}
|
||||
}
|
||||
|
||||
if (block) {
|
||||
|
||||
Reference in New Issue
Block a user