diff options
author | Pacien TRAN-GIRARD | 2016-04-09 22:40:36 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-04-09 22:40:36 +0200 |
commit | 0355436f731a4cd6c63bc7d776a391bf43e19a41 (patch) | |
tree | a76f161d8b4cc3e6f8a9fa9a9171d7ff755466bb /src/ch | |
parent | dd3fa83b18bdfa2010dbaa372682bd11bdb3e9bb (diff) | |
download | xblast-0355436f731a4cd6c63bc7d776a391bf43e19a41.tar.gz |
Fix player hosting block ability
Diffstat (limited to 'src/ch')
-rw-r--r-- | src/ch/epfl/xblast/server/Block.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/Block.java b/src/ch/epfl/xblast/server/Block.java index 5a139ff..6076297 100644 --- a/src/ch/epfl/xblast/server/Block.java +++ b/src/ch/epfl/xblast/server/Block.java | |||
@@ -74,7 +74,7 @@ public enum Block { | |||
74 | * @return T(this block can host a player) | 74 | * @return T(this block can host a player) |
75 | */ | 75 | */ |
76 | public boolean canHostPlayer() { | 76 | public boolean canHostPlayer() { |
77 | return this.isFree(); | 77 | return this.isFree() || this.isBonus(); |
78 | } | 78 | } |
79 | 79 | ||
80 | /** | 80 | /** |